networking - ssh: id_rsa not accessible - how do I get it? -
i'm trying create ssh connection server next command,
ssh -v -i ~/.ssh/id_rsa -p 12345 someusername@some.ip.add.ress
debugging shows permission denied because id_rsa not accessible, , in fact don't have file.
i'm not familiar id_rsa file.. should request , receive server maintainer? or there way generate it?
you need generate ssh key pair on computer. generate both public , private key. public key (denoted .pub) extension need added server connecting to, in ~/.ssh/authorized_keys
file, or via web interface in case of services github. private key remains on computer , used in place of id_rsa
key noted above within -i
switch.
you given alternative add together password , select name key pair.
ssh-keygen -t rsa -c "your_email@example.com"
more info can found here (github article, not specific github): github: generating ssh keys
networking ssh
No comments:
Post a Comment