Windows上基于快捷方式的Putty免密码登陆

创建putty.exe快捷方式,右击putty快捷方式,属性,目标,加上账户密码端口等参数,保存,关闭;

putty.exe [-ssh | -telnet | -rlogin | -raw] [[email protected]]host
Example: putty -ssh -l vagrant -pw vagrant -P 2222 127.0.0.1

-V        print version information and exit
 -pgpfp    print PGP key fingerprints and exit
 -v        show verbose messages
 -load sessname  Load settings from saved session
 -ssh -telnet -rlogin -raw            force use of a particular protocol
 -P port   connect to specified port
 -l user   connect with specified username
 -batch    disable all interactive prompts The following options only apply to SSH connections:  -pw passw login with specified password
 -D [listen-IP:]listen-port           Dynamic SOCKS-based port forwarding
 -L [listen-IP:]listen-port:host:port            Forward local port to remote address
 -R [listen-IP:]listen-port:host:port            Forward remote port to local address
 -X -x     enable / disable X11 forwarding
-A -a     enable / disable agent forwarding
 -t -T     enable / disable pty allocation
-1 -2     force use of particular protocol version
-4 -6     force use of IPv4 or IPv6
 -C        enable compression
-i key    private key file for authentication
 -m file   read remote command(s) from file
 -s        remote command is an SSH subsystem (SSH-2 only)
 -N        don‘t start a shell/command (SSH-2 only)

详见https://the.earth.li/~sgtatham/putty/0.70/htmldoc/Chapter3.html#using-cmdline中3.8 The PuTTY command line。

时间: 2024-08-24 01:54:01

Windows上基于快捷方式的Putty免密码登陆的相关文章

部署SSH证书使PuTTY免密码登陆LINUX

最近搞了一个VPS,用PuTTY登陆每次都要输入root账号的密码,比较麻烦,于是网上找到SSH证书这个方法. 其实这应该是PuTTY推荐的验证方式吧. 1. 用PuTTY SSH 密钥生成工具puttygen.exe生成密钥.生成的密钥类型和位数按照默认的就行了,SSH-2 RSA,1024位 保存私钥到本地,保存时会提示对私钥设密码,不设密码更加方便. 2. 配置LINUX SSH登录(root用户的话,~就是/root)首先登入远端LINUX系统,创建~/.ssh/authorized_k

windows上通过secureCRT和putty创建密钥登录

前面介绍了linux的ssh远程登录协议和ssh无密码登录方式,这里在windows下通过secureCRT和putty登录linux来看一下具体的密钥创建,配置和登录,也算做个备忘录吧. 1.linux下创建密钥对 还记得前面说的怎么创建密钥对吧: [[email protected] ~]$ ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/home/

windows使用xshell免密码登陆远程Linux服务器教程

windows使用xshell免密码登陆远程Linux服务器教程 1.使用xshell自带工具生成私钥 步骤: 2.在linux服务器端生成密钥 1.生成服务器端密钥命令 #ssh-keygen (保存位置默认,全部回车即可.) 3.复制本地密钥到远程linux服务器端 1.复制本地密钥到远程linux服务器端 2.把本地密钥命名为authorized_keys #cat 本地密钥 >> authorized_keys 3.放在~/.ssh/下且权限为600. #chmod 600 autho

两台linux系统免密码登陆

一台是192.168.10.131,另一台是192.168.10.135,现在要实现两个需求: 一.是131免密码登陆135,并且scp  rsync 免密码拷贝 二.是用secureCRT工具登陆135时,只能用秘钥登陆,不能用密码登陆 实验步骤如下: 1.在131上运行 ssh-keygen,生成密钥对,其中公钥用于加密,私钥用于解密 2.ssh-copy-id -i  /root/.ssh/id_rsa.pub [email protected],将生成的公钥内容拷贝到135的/root/

中小企业最基本的实用的ssh-key秘钥方案之ssh免密码登陆实战  

一.实验环境 本次实验需至少两台机器,本文采用三台机器做讲解.        服务器       ip     是否为分发机     nfs-server 10.0.0.11          是   web-client01 10.0.0.12          否   web-client02 10.0.0.13          否 二.实施步骤 1.添加系统账号(即普通用户)分别使用了三台机器,一台为分发机,另两台为被分发机.在企业环境中,很多用户直接用root来操作,这样好很不规范,权

ssh key 免密码登陆服务器,批量分发管理以及挂载远程目录的sshfs 功能

ssh key 免密码登陆服务器,批量分发管理以及挂载远程目录的sshfs 第一部分:使用ssh key 实现服务器间的免密码交互登陆 步骤1: 安装openssh-clients [[email protected] ~]# yum install openssh-clients -y 步骤2: 创建用户,所有机器同时操作,可直接使用root [[email protected] ~]# useradd test #如果使用root,这里跳过 [[email protected] ~]# ec

Jenkins进阶系列之——09配置Linux系统ssh免密码登陆

ssh认证的完整描述:https://www.ibm.com/developerworks/cn/linux/security/openssh/part1/ 说明:点我去查看 今天我们只说生成ssh的key,从而达到免密码登陆的目的. 不知道ssh是什么的自己看说明.好了,不废话了. 系统:CentOS 5.8 确认用户 确认当前用户是你需要的用户! $ whoami froad #froad用户,根据你自己的需求选择用户.我这儿用froad用户演示. 生成key $ cd ~ #回到用户目录,

hadoop学习笔记(五)——全分布模式下SSH免密码登陆的实现

1)  设置3台机器的网络配置,并统一用户名,root除外 master:192.168.2.10 slave1:192.168.2.11 slave2:192.168.2.12 2)  SSH免密码登陆思想 因为三个节点要相互访问,所以,三个节点都是客户端,也都是服务器端,我们分别在三个节点上创建一对密钥文件,密钥文件包括公钥文件(~/.ssh/id_rsa.pub)和私钥文件 (~/.ssh/id_rsa). 客户端在使用ssh登录到其他节点上的时候,ssh会发送私钥去和其他节点上的公钥去匹

ssh免密码登陆方法

p.p1 { margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica } span.s1 { font: 12.0px "PingFang SC" } 1.在服务器上执行: ssh [email protected]    ==>no 是为了创建一个文件夹.ssh p.p1 { margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica } vi .ssh/authoriz