sed -i 's/#UseDNS yes/UseDNS no/g' /etc/ssh/sshd_config service sshd restartReference: UNIX&LINUX
2012年7月26日 星期四
加入ssh login速度
只要把UseDNS關掉,登入速度就可以馬上變快!
2012年6月7日 星期四
[Fixed] 用PuTTY登入遠端機器出現"access denied"
被這個訊息困擾一陣子了,這幾天找機會找了一下root cause,原因很簡單,就在PuTTY的設定
點選SSH --> Auth --> GSSAPI 取消勾選"Attempt GSSAPI authentication (SSH-2 only)"Reference: statckoverflow
標籤:
access denied,
putty,
ssh
2011年2月8日 星期二
Password-less SSH
ssh-keygen -t rsa
#################################################################
#the message will like the following text
#################################################################
#Generating public/private rsa key pair.
#Enter file in which to save the key (/home/skx/.ssh/id_rsa):
#Enter passphrase (empty for no passphrase):
#Enter same passphrase again:
#Your identification has been saved in /home/skx/.ssh/id_rsa.
#Your public key has been saved in /home/skx/.ssh/id_rsa.pub.
ssh-copy-id -i ~/.ssh/id_rsa.pub ${username}@${IP}
Reference: Debian Administration
標籤:
centos,
passwordless,
ssh
訂閱:
文章 (Atom)