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?
|