ChinaUnix.net
相关文章推荐:

ssh无密码登录 不生效

这个是命令debug记录: [will shils022 /home/will 2]$ ssh wcd_libs@shils021 -v Openssh_3.9p1, OpenSSL 0.9.7a Feb 19 2003 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Connecting to shils021 [10.94.11.51] port 22. debug1: Connection established. debug1: identity file /home/will/.ssh/identity type -1 debug1: identity file /home/will/.ssh/id_rsa type 1 ...

by shot - Linux系统管理 - 2010-01-12 12:55:27 阅读(2977) 回复(4)

相关讨论

http://linux.byexamples.com/archives/297/how-to-ssh-without-password/ 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/87606/showart_2088327.html

by bzhao - Linux文档专区 - 2009-11-06 22:48:19 阅读(682) 回复(0)

假如你想从A机器登录到B机器,具体步骤如下: 1.登录到A机器 # ssh-keygen -t dsa Generating public/private dsa key pair. Enter file in which to save the key (/root/.ssh/id_dsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /root/.ssh/id_dsa. Your public key has been saved in /root/.ssh/id_dsa.pub. The key fingerprint is: 82:0c:91:f4:6...

by wujing168 - Linux文档专区 - 2008-11-11 13:42:17 阅读(809) 回复(0)

在一个国外的网站申请了一个代码的持续集成服务,该网站允许通过执行shh命令发布软件,现在执行shh命令的时候,会提示输入密码,导致法自动执行服务器端的脚本; 客户端(持续集成服务器)的SHH命令如下:[code]ssh -o LogLevel=debug -v -a 115.29.243.130 -l ssh_u 'hostname'[/code]输入如下: [quote]Openssh_6.6.1, OpenSSL 1.0.1f 6 Jan 2014 debug1: Reading configuration data /home/rof/.ssh/config debug1: Reading c...

by icavy - Linux新手园地 - 2014-09-15 09:20:16 阅读(1316) 回复(2)

转载自: http://www.daoan.com/forums/index.php?forumid=5&mods=topicdisplay&postid=4 在linux系统中,ssh是远程登录的默认工具,因为该工具的协议使用了RSA/DSA的加密算法.该工具做linux系统的远程管理是非常安全的。telnet,因为其安全性,在linux系统中被搁置使用了。 ssh有一套很有用的工具,其中的ssh-keygen可以用来生成private和public密钥.将生成的public密钥拷贝到远程机器后,可以使ssh到另外一台机器的登陆密码.具体...

by johncan - Linux文档专区 - 2009-03-27 17:00:33 阅读(1892) 回复(0)

本帖最后由 yizhengming 于 2012-12-13 12:05 编辑 我把自己目录下的所有文件包括目录权限都改成了777 发现ssh密码登录提交东西了 是是改了.ssh里文件里权限导致的?

by yizhengming - Linux系统管理 - 2012-12-13 15:25:03 阅读(1006) 回复(5)

本帖最后由 longbow0 于 2010-03-30 14:52 编辑 系统环境是这样: 一台超算,有 8 个结点 ( node1~8 ),和 1 个共享的盘阵。在每个结点上,盘阵都被挂载为 /data。 用户的主目录在 盘阵 上,为 /data/test。 我的做法是,在 node1 上,运行[code] $ ssh-keygen -t rsa [/code]然后在 .ssh 下,[code] cat id_rsa.pub >> authorized_keys [/code]现在的问题是,论用 rsa1, rsa, dsa 都法实现密码登录其他结点。 在各结...

by longbow0 - Linux系统管理 - 2010-04-08 18:53:11 阅读(2663) 回复(5)

首先每台机器的sshd进程都是起来的,两台机器都有相同的帐号dyn和相同的密码123456。 1。登录到第一台机器node1的dyn帐户。在~/.ssh目录下用ssh-keygen -t dsa生成了一个密钥对。 2。把公钥id_dsa.pub用“scp ./id_dsa.pub node2:/tmp”命令把公钥拷贝到第二台主机node2上。 3。登录进第二台机器node2的dyn帐户。用“cat /tmp/id_dsa.pub >> /home/dyn/.ssh/authorized_keys”命令把公钥添加到认证文件中去。 4。回到第一台主机nod...

by winnersj - Linux文档专区 - 2007-06-27 15:05:28 阅读(757) 回复(0)

在redhat linux AS4配置ssh密码登录,具体的执行步骤如下: 1、ssh-keygen -t dsa -P '' -f ~/.ssh/id_dsa 2、cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys 3、ssh localhost 若以root用户登录,执行以上三个步骤,是ok的,能进行密码登录。 但是新建一个用户,用这个新用户登录,然后再执行以上三个步骤,就行了,必须要需要输入密码才行。 请问这是什么原因呢?盼大侠来帮忙解决,谢谢!

by maple1016 - Linux系统管理 - 2011-05-11 14:09:04 阅读(4200) 回复(4)

本帖最后由 smallfish 于 2011-03-23 17:51 编辑 //是客户端用户权限的问题,能设置成777,设置成755,700都可以! 弄了一下午了,知道咋搞的,每次登录到远程服务器都要输入密码。 本地服务器A,远程服务器B,现在需要实现从A到 B 管是ssh还是SCP都需要密码。使用的是普通用户 A: [scpdb@host .ssh]$ssh-keygen -t Generating public/private rsa key pair. Enter file in which to save the key (/home/scpdb/.ss...

by smallfish - Linux系统管理 - 2014-04-26 09:56:59 阅读(7817) 回复(28)

系统环境 solaris 10 ssh版本 Sun_ssh_1.1、ssh Protocol 1.5/2.0、OpenSSL 0x0090704f 我用的是DSA公钥验证方法,RSA也是试过 本地主机(客户机) 用户 jdoe 地址 192.168.5.21 ~/.ssh/id_rsa 或 ~/.ssh/id_dsa 中的私钥 ~/.ssh/id_rsa.pub 或 ~/.ssh/id_dsa.pub 中的用户公钥 远程主机(服务器) 用户 jdoe 地址 192.168.5.20 ~/.ssh/authorized_keys 中的用户公钥 步骤:# ssh-keygen -t dsa Generating public/private ...

by denglly - Solaris - 2008-01-10 14:17:38 阅读(4251) 回复(2)