Blog
Viewing posts for the category HOWTO
Setup Mercurial server with multiple repositories on OpenSUSE
Posted by: senex in HOWTO 13 years, 7 months ago
This tutorial is to configure a Mercurial/hg server for multiple repositories on OpenSUSE. Be sure to follow these steps on the server you want to host the repositories on.
SSH Keys HOWTO
Posted by: senex in HOWTO 19 years, 3 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 19 years, 3 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)