Memoru

System Engineering and Programming and IT

1808-enable-sshd-and-connect-teraterm

1808 Enable sshd and connect with teraterm

Overview

Procedure

  • Edit /etc/ssh/sshd_config to modify port 22 into other port.
sakai@eX:~$ sudo vim /etc/ssh/sshd_config
# Port 22222 ###<<port 22でも接続可能
PasswordAuthentication yes
AddressFamily inet 
ListenAddress 0.0.0.0 
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes 
  • restart service
sakai@eX:~$ sudo service ssh restart
 * Restarting OpenBSD Secure Shell server sshd                                                         [ OK ]
  • Connect from other PC's Teraterm on IP address and part modified.

// --- end of blog