远程登录
#连接远程机器 默认22端口可哟不用写
ssh -p 122 1.94.39.166 #默认root用户
ssh -p 22 weblogic@192.168.0.1 #指定用户登录
验证端口是否通
[root@localhost ~]# ssh -v -p 3000 192.168.15.128
OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 58: Applying options for *
debug1: Connecting to 192.168.15.128 [192.168.15.128] port 3000.
debug1: Connection established.
如果出现 Connection established 说明端口是通的
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
暂无评论内容