mirror of
https://github.com/gotbletu/shownotes
synced 2024-11-10 19:10:36 +00:00
ssh passless
This commit is contained in:
parent
ba7b5a8b89
commit
fd2c38ab54
5
README
5
README
@ -42,6 +42,9 @@ pacmixer - an alsamixer alike for pulseaudio
|
|||||||
sunflower-fm - lightweight file manager
|
sunflower-fm - lightweight file manager
|
||||||
https://code.google.com/p/sunflower-fm/
|
https://code.google.com/p/sunflower-fm/
|
||||||
|
|
||||||
|
torrent-search - search for torrents
|
||||||
|
http://torrent-search.sourceforge.net
|
||||||
|
|
||||||
turses - console twitter client
|
turses - console twitter client
|
||||||
https://github.com/alejandrogomez/turses
|
https://github.com/alejandrogomez/turses
|
||||||
|
|
||||||
@ -72,3 +75,5 @@ WebUpd8
|
|||||||
compiz grid with mouse binding ( old compiz 0.8 )
|
compiz grid with mouse binding ( old compiz 0.8 )
|
||||||
http://www.webupd8.org/2011/01/set-up-hot-corners-for-compiz-grid.html
|
http://www.webupd8.org/2011/01/set-up-hot-corners-for-compiz-grid.html
|
||||||
|
|
||||||
|
ofris - deep freeze for linux
|
||||||
|
http://www.webupd8.org/2010/08/ofris-deep-freeze-like-application-for.html
|
||||||
|
30
ssh_passwordlesskey.txt
Normal file
30
ssh_passwordlesskey.txt
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
Notes for video: http://www.youtube.com/watch?v=LlGL-uBSe6M
|
||||||
|
|
||||||
|
|
||||||
|
## ssh passwordless login
|
||||||
|
|
||||||
|
A. generate a public key ( this will create id_rsa / id_rsa.pub files in ~/.ssh folder )
|
||||||
|
ssh-keygen
|
||||||
|
|
||||||
|
# ex: prompt to comeplete
|
||||||
|
Generating public/private rsa key pair.
|
||||||
|
Enter file in which to save the key (/home/jsmith/.ssh/id_rsa):[Press Enter key]
|
||||||
|
Enter passphrase (empty for no passphrase): [Press Enter key]
|
||||||
|
Enter same passphrase again: [Pess Enter key]
|
||||||
|
Your identification has been saved in /home/heoyea/.ssh/id_rsa.
|
||||||
|
Your public key has been saved in /home/heoyea/.ssh/id_rsa.pub.
|
||||||
|
The key fingerprint is:
|
||||||
|
33:b3:fe:af:95:95:18:11:31:d5:de:96:2f:f2:35:f9 heoyea-core@.192.168.1.100
|
||||||
|
|
||||||
|
B1. copy local pub key to server pc (method 1)
|
||||||
|
# this will send pub key and create ~/.ssh/authorized_keys folder on server pc
|
||||||
|
# Note: ssh-copy-id command will append keys, not overwrite it ( good for multiple keys)
|
||||||
|
ssh-copy-id -i ~/.ssh/id_rsa.pub heoyea-core@192.168.1.100
|
||||||
|
|
||||||
|
B2. copy local pub key to server pc (method 2)
|
||||||
|
# send keys to server
|
||||||
|
scp ~/.ssh/id_rsa.pub heoyea-core@192.168.1.100:/tmp/
|
||||||
|
# login to server pc then append keys manually
|
||||||
|
cat /tmp/id_rsa.pub >> ~/.ssh/authorized_keys
|
||||||
|
rm -f /tmp/id_rsa.pub
|
||||||
|
|
Loading…
Reference in New Issue
Block a user