千家信息网

Solaris 10 配置远程ssh

发表于:2026-11-03 作者:千家信息网编辑
千家信息网最后更新 2026年11月03日,1、打开terminal窗口,切换到bash shell2、修改sshd_configPremitRootLogin yes3、重启ssh服务Svcadm restart ssh4、查看机器ipIfc
千家信息网最后更新 2026年11月03日Solaris 10 配置远程ssh

1、打开terminal窗口,切换到bash shell

2、修改sshd_config

PremitRootLogin yes

3、重启ssh服务

Svcadm restart ssh

4、查看机器ip

Ifconfig -a

5、ssh登录

root@ubuntu-T:~# ssh root@172.16.251.130The authenticity of host '172.16.251.130 (172.16.251.130)' can't be established.RSA key fingerprint is SHA256:7Q2PlGyu4r7R3dmKlvsZMPoJP5Kp1sNrtYyXAWzpAWU.Are you sure you want to continue connecting (yes/no)? yesWarning: Permanently added '172.16.251.130' (RSA) to the list of known hosts.Password:Last login: Tue Jul 31 14:32:19 2018Sun Microsystems Inc.   SunOS 5.10      Generic January 2005# bash     bash-3.00# ifconfig -alo0: flags=2001000849 mtu 8232 index 1        inet 127.0.0.1 netmask ff000000e1000g0: flags=1004843 mtu 1500 index 2        inet 172.16.251.130 netmask ffffff00 broadcast 172.16.251.255        ether 0:c:29:44:3b:b9bash-3.00#


0