您的位置:首页 > 其它

win ssh ubuntu问题

2015-12-19 16:36 225 查看
问题1.ssh: connect to host 192.168.XX.XX port 22: Connection refused

ps aux|grep ssh 检查ssh与sshd是否启动

ubuntu默认没有安装openssh-server

apt-get install openssh-server

启动sshd /usr/bin/sshd 或/etc/init.d/ssd start

问题2.X11 connection rejected because of wrong authentication.

vim /etc/ssh/ssh_config

ForwardAgent yes

ForwardX11 yes

ForwardX11Trusted yes

sudo reboot
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: