如果你使用ubunt作为自己的build server操作系统的话,我想ssh应该是第一个需要配置的服务,没有这个的话,请问你的client端怎么连接到server端?
由于ssh client的服务所有ubuntu系统都是默认配置的,所以这里说的是ssh server,具体配置如下:
1安装 ssh server服务
sudo apt-get install openssh-server
2 启动server端的ssh服务
ps -e|grep ssh 如果有sshd则ssh-server启动成功
3 client端使用ssh命令登录到server端
例如:ssh cheny@172.21.18.5
详细的ssh命令说明如下:
ssh [-1246AaCfgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec] [-D [bind_address:]port] [-e escape_char] [-F configfile] [-i identity_file] [-L
[bind_address:]port:host:hostport] [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port] [-R [bind_address:]port:host:hostport] [-S ctl_path]
[-w local_tun[:remote_tun]] [user@]hostname [command]