修改默认的22的ssh端口只需要修改 /etc/ssh/sshd_config 中的 port 字段为你想要的端口就可以了
以后用其他机器ssh登录这台机器只需要:

ssh -p (port)  (ip)  

使用scp 就是:

scp -P (port) /usr/myfile   IP:/tmp

写于: 2012年05月05日
更新于: 2015年03月02日

相关文章:

  • 2021-07-24
  • 2022-03-11
  • 2022-12-23
  • 2021-05-31
  • 2022-12-23
  • 2022-01-07
  • 2021-09-29
  • 2022-12-23
猜你喜欢
  • 2022-01-07
  • 2022-01-07
  • 2022-01-07
  • 2021-11-17
  • 2021-05-16
  • 2022-02-18
  • 2022-12-23
相关资源
相似解决方案