Ubuntu - Linux for human beings
Ubuntu Command:
To shutdown / poweroff Ubuntu Linux
sudo halt
Or
sudo shutdown -h now
To reboot Ubuntu Linux
sudo reboot
To Start/Stop/Restart network:
sudo /etc/init.d/networking {stop|start|restart}
e.g.
sudo /etc/init.d/networking restart
Ubuntu SSHD Installation:
Type the following two command to install both ssh client and server:
# sudo apt-get install openssh-server openssh-client
SSHD Configuration
To be frank your server is ready by default. Just test it from your home computer or from same system with the command:
# ssh localhost
OR
# ssh user@your-server-ip-address
How do I use ssh client?
Assuming that your server hostname is userver.mydomain.com and username is vivek, you need to type the following command:
# ssh vivek@userver.mydomain.com
To stop ssh server, enter:
# sudo /etc/init.d/ssh stop
To start sshs server, enter:
# sudo /etc/init.d/ssh start
To restart ssh server, enter:
# sudo /etc/init.d/ssh restart
Change SSH port:
# vi /etc/ssh/sshd_config
Ubuntu Article Collection:
aliyev’s ubuntu notes
| Attachment | Size |
|---|---|
| aliyev’s ubuntu notes-Ubuntu - Linux for human beings.pdf | 129.94 KB |
