Chinaunix

标题: Ubuntu9.04 configure SSH server [打印本页]

作者: creatory    时间: 2009-08-08 15:53
标题: Ubuntu9.04 configure SSH server
Ubuntu9.04 configure SSH server
1.install ssh server component:apt-get install openssh-server
2.Modify the default port:modify the file "/etc/ssh/sshd_config",find the following line "Port 22",use '#' to remark,Add "Port XXXX".The "XXXX" stands for what port you want to use.
3.restart the server:/etc/init.d/ssh restart
Remote connect test:
ssh creatory@192.168.10.142 -p XXXX
author:creatory@mail.com
time: 08/08/2009
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/56374/showart_2021735.html




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2