ssh远程连接

远程登录

#连接远程机器 默认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
喜欢就支持一下吧
点赞14 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码图片快捷回复

    暂无评论内容