Tag Archives: SSH

Fix for SSH slow to ask for password in Ubuntu Feisty Fawn

在UBUNTU FEISTY下默认进行SSH登录的时候,开始连接的速度好像有点慢,今天看到这个才知道原因。 解决办法: Solution 1 Edit the /etc/ssh/ssh_config file using the following command sudo nano /etc/ssh/ssh_config Commentout the following lines GSSAPIAuthentication yes GSSAPIDelegateCredentials no save the file and exit

Posted in Linux | Tagged , , , , | 1 Comment

X over SSH

X的远程应用,我原来一直用的是vnc,居然不知道用SSH这么简单就可以远程X了。 ssh -X remotehost or ssh -Y remotehost 但是我现在好像只能运行X程序,完整的X桌面我还运行不起来,包括KDE、GNOME。而且在GNOME下如何把声音也远程?这也是个问题,esound应该能支持,具体的做法还不知道。 参考:http://www.vanemery.com/Linux/XoverSSH/X-over-SSH2.html

Posted in Linux | Tagged , , , | Leave a comment

SSH拒绝登录的问题

DEBIAN SARGE服务器,升级到testing后,无法ssh登录了。 经在服务器上检查,SSHD没有问题,帐号没有问题,密码没有问题,服务器安全也没有问题。最终发现是由于默认的安全性得到了提高,导致此问题的。 最后在http://www.debian-administration.org/articles/152找到了问题的答案。 或者不使用publickey登录,使用密码登录,要确认PasswordAuthentication该选项设置成 yes。 我的问题在于我的home目录属性发生了变化,即别人也可以写,导致安全检查无法通过。 修复过程: 1、直接到机房登录服务器,修改PasswordAuthentication为yes。 2、重启SSH服务,客户端生成RSA: ssh-keygen -t rsa ssh-copy-id -i ~/.ssh/id_rsa.pub username@myserver cd chmod 700 .ssh cd /home chmod 700 myhome

Posted in Linux | Tagged , , | Leave a comment