--wikipedia
Enable SSH Daemon
Open gnome-terminal and type:
$ suNow that it's started you'll need to keep it going in case you reboot your machine. Run the following command to have it start on-boot:
# systemctl start sshd.service
# systemctl enable sshd.serviceAfter executing that command you will receive a message below:
sshd.service is not a native service, redirecting to /sbin/chkconfig.Verify Firewall Setting
Executing /sbin/chkconfig sshd on
Check the port 22 is open in the firewall.
Test the Connection
I test the ssh on my Windows machine with SecureCRT. In SecureCRT, add a new connection and input your ip, user name and password in corresponding places.
The first time when you connect the ssh, you need to accept a host key.
After all are done, enjoy it!
No comments:
Post a Comment