Strange question about rebooting system..

R

renderman1999

Guest
Hello everybody,
i'm new on this forum, and i have a fresh but strange questions...
I've a remote linux system who, without reason, the ssh service stop to working....my only way to get logon is with ftp...
The question is.... is it possible to reboot the system in strange way only with ftp (maybe placing script or something....)??Cron is not installed on the system...
Thank you in advice for any future reply..
Alessandro.
 


Hi Alessandro, and welcome! My guess is that ftp will not let you reboot, but I don't know for sure. Using "man ftp" to see its options, this looks like it might work, if anything will:

The following commands are recognized by ftp:

! [command [args]]
Invoke an interactive shell on the local machine. If there
are arguments, the first is taken to be a command to execute
directly, with the rest of the arguments as its arguments.

Your ftp login may need to be have root access for this to work.

Good luck!
 
I think you should fix SSH before trying to use FTP for the same purpose.
 

Members online


Latest posts

Top