|
Linux系统常用服务程序配置(3) 客户端:
sudo aptitude install atftp
atftp 127.0.0.1
---------------------
TELNET: port :23
安装:sudo aptitude install telnetd
创建文件:/etc/xinetd.d/telnet内容是/etc/inetd.conf 转换过来的段
重启xinetd,读取新的配置文件,服务开通
------------------
SSH : port :22
安装:sudo aptitude install ssh
查看:sudo netstat -apn | grep ":22"
客户端登录:ssh user@ip 退出:logout
登录以后可以像操作自己的电脑一样使用
不登录对方使用:
scp localfile user@ip :/remote_path or remote_file
scp user@ip :/remote_file localfile or localpath
/etc/hosts.deny
sudo /etc/init.d/ssh start|stop
|