Solaris10配置远程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.130 The 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)? yes Warning: Permanently added '172.16.251.130' (RSA) to the list of known hosts. Password: Last login: Tue Jul 31 14:32:19 2018 Sun Microsystems Inc. SunOS 5.10 Generic January 2005 # bash bash-3.00# ifconfig -a lo0: flags=2001000849mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 e1000g0: flags=1004843 mtu 1500 index 2 inet 172.16.251.130 netmask ffffff00 broadcast 172.16.251.255 ether 0:c:29:44:3b:b9 bash-3.00#
分享标题:Solaris10配置远程ssh-创新互联
网页路径:http://scgulin.cn/article/ppege.html