CentOS · open ldap · Public key · SSH

Open LDAP and SSH Public key in CentOS6.2

Author: Kevin Zhang Thanks Guide in CentOS 6.2 : http://blog.johnalvero.com/2012/03/ldap-server-installation-for-openssh.html (Centralize the administration of linux accounts/Centralize the administration of sudo access) http://sios-oss.blogspot.jp/2011/12/rhel61-openldap-slapdconf-ssh.html  (Security option) http://askubuntu.com/questions/204400/ssh-public-key-no-supported-authentication-methods-available-server-sent-publ Thanks everyone in Open Source Community. Download CentOS6.2 : http://ftp.riken.jp/Linux/centos/6.2/isos/i386/CentOS-6.2-i386-minimal.iso #edit CentOS network vi /etc/resolv.conf //DNS vi vi /etc/sysconfig/network-scripts/ifcfg-eth0 //NIC IP vi /etc/networks //Route #restart network service /etc/init.d/network restart #stop… Continue reading Open LDAP and SSH Public key in CentOS6.2

Cisco · Public key · SSH

Cisco IOS device configure SSH public-key authentication

Author: Kevin Zhang 概念说明: SSH public Key类型: -RSA key use with SSH1 and SSH2 protocol -DSA key use with SSH2 protocol *Note: DSA的安全性较RSA的弱 Key格式: 公钥 :SSH.com使用的RFC 4716指定的公钥格式,而OpenSSH使用了另外的格式 私钥 : SSH v1私钥只有一种标准格式,但SSH v2私钥格式很多,OpenSSH、ssh.com、puty、winscp格式不同且不兼容 一、key的生成 1. 通过Secure CRT生成key 密钥类型有两种: DSA、RSA. Secure CRT提示多种服务器不支持RSA, Cisco IOS只支持RSA。 通行短语为对私钥加密的密码,注释为提示输入密码时的提示,两项均为可为空。 为了更好的兼容性和适用性,选择了 OpenSSH 密钥格式,选择保存私钥的位置: 点击’Finish’后会弹出对话框: 如果选择’Yes’,会影响’快速连接’中的公钥指向保存的文件: 2. 使用PuTTYgen生成key (guide from winscp) key passphrase… Continue reading Cisco IOS device configure SSH public-key authentication