SecureCRT A public key file has not been specified

cureCRT的Tools -> Manage Agent Keys -> 点击右侧的Add... -> 选择提供的 *.pub文件, 再次登录即可.

每次关闭了SecureCRT, 再次连接这个服务器时, 又要求导入,

1.先是弹出: All available GSSAPI mechanisms failed.

确定之后, 报出了: A public key file has not been specified for this session. Would you like to specify one now?

2.但是这里让导入的key格式是pub 而我们用的是ppk 无法锁定我们的公钥

这时候点击ssh2会话选项,选择公钥属性,选择我们的公钥

3.右击连击 -> Properties -> 在左侧的Category中, 依次选择Connection / SSH2 , 在右侧的Authentication中, 取消勾选 Password, Keyboard Interactive, GSSAPI -> OK即可

原文地址:http://blog.51cto.com/liushuai/2318925

时间: 2024-08-05 00:39:24

SecureCRT A public key file has not been specified的相关文章

SecureCRT+WinSCP 共用 key pub 密钥 转换 ppk 登录ssh

使用SecureCRT生成的密钥,无法在WinSCP使用, 使用puttygen.exe无法直接转换,解决办法 1.使用大于等于SecureCRT6.5版本,来转换 记得放入私钥,不是pub公钥.然后保存到桌面OpenSSH格式的密钥 注:英文版本使用: SecureCRT:Quick Connect-> Authentiation -> Public Key -> Properties ->Create Identity File -> DSA/RSA -> Set

The Salt Master has rejected this minion's public key!

salt查看日志: salt --log-level=all "10.199.165.244" state.highstate 进入调试模式: salt-minion -l debug [DEBUG   ] Reading configuration from /etc/salt/minion [DEBUG   ] Configuration file path: /etc/salt/minion [INFO    ] Setting up the Salt Minion "

Xshell配置密钥公钥(Public key)与私钥(Private Key)登录

ssh登录提供两种认证方式:口令(密码)认证方式和密钥认证方式.其中口令(密码)认证方式是我们最常用的一种,这里介绍密钥认证方式登录到linux/unix的方法. 使用密钥登录分为3步:1.生成密钥(公钥与私钥):2.放置公钥(Public Key)到服务器~/.ssh/authorized_key文件中:3.配置ssh客户端使用密钥登录. 一.生成密钥公钥(Public key)与私钥(Private Key) 打开Xshell,在菜单栏点击"tools",在弹出的菜单中选择&quo

SSH primary Key 和 public key 解析

SSH key 用到的是非对称加密RSA 算法,关于 RSA算法, 下面的博客有详细的介绍: http://www.ruanyifeng.com/blog/2013/06/rsa_algorithm_part_one.html 这里只列举几个关键的点, 以介绍秘钥的产生: 随意选择两个大的素数p和q,p不等于q,计算N=pq. 根据欧拉函数,求得r = (p-1)(q-1) 选择一个小于 r 的整数 e,求得 e 关于模 r 的模反元素,命名为d.(模反元素存在,当且仅当e与r互质) 将 p 和

Xshell配置ssh免密码登录-密钥公钥(Public key)与私钥(Private Key)登录

ssh登录提供两种认证方式:口令(密码)认证方式和密钥认证方式.其中口令(密码)认证方式是我们最常用的一种,这里介绍密钥认证方式登录到linux/unix的方法. 使用密钥登录分为3步:1.生成密钥(公钥与私钥):2.放置公钥(Public Key)到服务器~/.ssh/authorized_key文件中:3.配置ssh客户端使用密钥登录. 一.生成密钥公钥(Public key)与私钥(Private Key) 打开Xshell,在菜单栏点击"tools",在弹出的菜单中选择&quo

从 ssh private key 中重新生成 public key

Use the -y option to ssh-keygen: ssh-keygen -f ~/.ssh/id_rsa -y > ~/.ssh/id_rsa.pub From the 'man ssh-keygen' -y This option will read a private OpenSSH format file and print an OpenSSH public key to stdout. 原文地址:https://www.cnblogs.com/pekkle/p/1177

关于Public key for *.rpm is not installed 的解决方法

今天在用yum 安装httpd的时候出现了一下错误:warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID e8562897update/gpgkey                                            | 1.8 kB     00:00 Public key for apr-util-1.2.7-11.el5_5.1.i386.rpm is not installed 在网上找到了

Red Hat Linux使用yum 安装报 关于Public key for *.rpm is not installed 的解决方法

Public key for Cluster_Administration-en-US-5.2-1.noarch.rpm is not installed以上这些是报错信息,在网上搜到了解决方法:此时要导入rpm的签名信息即可以root登录,执行下面命令# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

公钥(Public Key)与私钥(Private Key)

公钥(Public Key)与私钥(Private Key)是通过一种算法得到的一个密钥对(即一个公钥和一个私钥),公钥是密钥对中公开的部分,私钥则是非公开的部分.公钥通常用于加密会话密钥.验证数字签名,或加密可以用相应的私钥解密的数据.通过这种算法得到的密钥对能保证在世界范围内是唯一的.使用这个密钥对的时候,如果用其中一个密钥加密一段数据,必须用另一个密钥解密.比如用公钥加密数据就必须用私钥解密,如果用私钥加密也必须用公钥解密,否则解密将不会成功.