Blog
Viewing posts by senex
Mezzanine Upgrade
Posted by: senex 13 years, 8 months ago
Upgraded from mezzanine 0.8.5 to 0.10.1. Things look great! Now if only I could put some content :)
SSH Keys HOWTO
Posted by: senex in HOWTO 18 years, 4 months ago
To log into a remote machine from a local machine
1. Check your home directory in the local machine for a .ssh directory. If it's there, look inside for a file named identity.pub or id_rsa.pub. If neither exists, type ssh-keygen -t rsa
Just press enter for passphrase, unless you want one. This creates a 1024 bit RSA version 2 keypair (other options for other types) in $HOME/.ssh/identity and $HOME/.ssh/identity.pub, OR in $HOME/.ssh/id_rsa and $HOME/.ssh/id_rsa.pub
2. Put a copy of identity.pub or id_rsa.pub (whichever you have) into your home directory on the remote machine:
scp $HOME/.ssh/identity.pub user@remote.machine.com:.
(note the ending dot on the line above, it means "same filename")
3. ssh into the remote box with a password, then do this:
Check to see if you have a .ssh directory there. If not,
mkdir .ssh
chmod 750 .ssh
4. If there is no file in the .ssh directory named authorized keys:
cp identity.pub .ssh/authorized_keys
or
cp id_rsa.pub .ssh/authorized_keys
chmod 600 .ssh/authorized_keys
If .ssh/authorized_keys already exists: cat identity.pub >> .ssh/authorized_keys or
cat id_rsa.pub >> .ssh/authorized_keys
5. Now log out of the remote machine and ssh into it again. You should be logged into your account on the remote machine without having to type a password.
linux disk copy
Posted by: senex in HOWTO 18 years, 4 months ago
To copy from one disk to another and preserve permissions do the following:
Recent Posts
- Podcast feed for Connected Life Christian Church
- PulseAudio Sound Sink
- CppHeaderParser 2.4.3 Released
- CppHeaderParser 2.4.2 Released
- CppHeaderParser 2.4.1 Released
Archive
2016
- November (1)
2014
2013
- August (1)
2012
2011
2006
- June (2)
Categories
- Comic (1)
- CppHeaderParser (8)
- HOWTO (3)
- Project (2)
Authors
- senex (23)