Some Basic SSH Commands

Here are some basic SSH commands. Some work in redhat linux, some work in freebsd. Just incase you were wondering on how to do these.

CREATE NEW FTP USER IN SSH:
ftpnew /usr/www/virtual/
ftp WWW.DOMAIN.COM

RESTART APACHE SSH COMMAND:
/www/apache/bin/apachectl - restart
or
/www/apache/bin/apachectl - stop
/www/apache/bin/apachectl - start
or
/usr/local//libexec/apachectl radical restart

RESTART MYSQL SSH COMMAND:
/usr/local/etc/rc.d/mysql-server.sh restart

These worked for me. So if they work for you great! If not, then I suppose you’ll have to do some more searching of the interweb.

0 Responses to “Some Basic SSH Commands”


  1. No Comments

Leave a Reply