由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Linux版 - How not to use password for ssh connections
相关主题
初学求教:登录远程服务器不需要密码的方法问个TCP有关timeout的技术问题
win下面ssh linux用什么好?如何只允许某个用户从某几台机器ssh进来?
改密码的问题ubuntu的ssh不行了
ssh without passwords遇到黑客了!
help for remote connection怪,ssh连接还不能tunnel,可能吗?
scp 命令中可以加上password吗?怎么阻止ssh 自动中断呢?
ssh 自动断开的问题Ubuntu9.10一插USB Flash drive就死机
【问题】ssh不能以root远程登录离人生完整又近了一步
相关话题的讨论汇总
话题: ssh话题: passphrase话题: use话题: password
进入Linux版参与讨论
1 (共1页)
a*****i
发帖数: 4391
1
found yesterday in vim doc.
1. Generate a public/private key pair on the local machine
(ssh client): >
ssh-keygen -t rsa
(saving the file in ~/.ssh/id_rsa as prompted)
2. Just hit the when asked for passphrase (twice) for no
passphrase. If you do use a passphrase, you will also need to use
ssh-agent so you only have to type the passphrase once per session.
If you don't use a passphrase, simply logging onto your local
computer or ge
z**r
发帖数: 17771
2
这个应该放到FAQ里,这个版上颇有些月经问题,弄个FAQ其实不错,都省事儿

【在 a*****i 的大作中提到】
: found yesterday in vim doc.
: 1. Generate a public/private key pair on the local machine
: (ssh client): >
: ssh-keygen -t rsa
: (saving the file in ~/.ssh/id_rsa as prompted)
: 2. Just hit the when asked for passphrase (twice) for no
: passphrase. If you do use a passphrase, you will also need to use
: ssh-agent so you only have to type the passphrase once per session.
: If you don't use a passphrase, simply logging onto your local
: computer or ge

wy
发帖数: 14511
3
should I peng you?

【在 a*****i 的大作中提到】
: found yesterday in vim doc.
: 1. Generate a public/private key pair on the local machine
: (ssh client): >
: ssh-keygen -t rsa
: (saving the file in ~/.ssh/id_rsa as prompted)
: 2. Just hit the when asked for passphrase (twice) for no
: passphrase. If you do use a passphrase, you will also need to use
: ssh-agent so you only have to type the passphrase once per session.
: If you don't use a passphrase, simply logging onto your local
: computer or ge

w****g
发帖数: 597
4
FAQ很好,像是ssh, vi, ftp等常用软件的常用功能问答, 可以节约提出问题和回答问
题两方面的人们的精力和时间。
k***e
发帖数: 7933
5
I tried to setup passwordless login from Putty in windows
to a Linux server. I follow a couple of guide from Google
search but none of them worked.
Any idea?

【在 a*****i 的大作中提到】
: found yesterday in vim doc.
: 1. Generate a public/private key pair on the local machine
: (ssh client): >
: ssh-keygen -t rsa
: (saving the file in ~/.ssh/id_rsa as prompted)
: 2. Just hit the when asked for passphrase (twice) for no
: passphrase. If you do use a passphrase, you will also need to use
: ssh-agent so you only have to type the passphrase once per session.
: If you don't use a passphrase, simply logging onto your local
: computer or ge

t*****g
发帖数: 1275
6
a more convenient/less safe way is to use expect

【在 a*****i 的大作中提到】
: found yesterday in vim doc.
: 1. Generate a public/private key pair on the local machine
: (ssh client): >
: ssh-keygen -t rsa
: (saving the file in ~/.ssh/id_rsa as prompted)
: 2. Just hit the when asked for passphrase (twice) for no
: passphrase. If you do use a passphrase, you will also need to use
: ssh-agent so you only have to type the passphrase once per session.
: If you don't use a passphrase, simply logging onto your local
: computer or ge

Z****e
发帖数: 2999
7
faint, I thought you work with Linux a lot, just learned this trick?

【在 a*****i 的大作中提到】
: found yesterday in vim doc.
: 1. Generate a public/private key pair on the local machine
: (ssh client): >
: ssh-keygen -t rsa
: (saving the file in ~/.ssh/id_rsa as prompted)
: 2. Just hit the when asked for passphrase (twice) for no
: passphrase. If you do use a passphrase, you will also need to use
: ssh-agent so you only have to type the passphrase once per session.
: If you don't use a passphrase, simply logging onto your local
: computer or ge

m******t
发帖数: 2416
8

Go ahead, I'll follow.

【在 wy 的大作中提到】
: should I peng you?
w*r
发帖数: 2421
9
how to setup sshd to force not reading the authorized keys?

【在 m******t 的大作中提到】
:
: Go ahead, I'll follow.

m******t
发帖数: 2416
10

Try set PubKeyAuthentication to no in /etc/ssh/sshd_config

【在 w*r 的大作中提到】
: how to setup sshd to force not reading the authorized keys?
1 (共1页)
进入Linux版参与讨论
相关主题
离人生完整又近了一步help for remote connection
远程桌面实现不少...scp 命令中可以加上password吗?
linux能不能限制一天最多错误登录次数?ssh 自动断开的问题
这个登录失败log什么意思?【问题】ssh不能以root远程登录
初学求教:登录远程服务器不需要密码的方法问个TCP有关timeout的技术问题
win下面ssh linux用什么好?如何只允许某个用户从某几台机器ssh进来?
改密码的问题ubuntu的ssh不行了
ssh without passwords遇到黑客了!
相关话题的讨论汇总
话题: ssh话题: passphrase话题: use话题: password