~/.ssh/config I added following lines
Host shortcut User my_username HostName real_host_name
And then I can simply log in via
ssh-keygen -t rsa
Alternatively, one may use
-t dsa option for DSA key type. For SSH1 protocol, use
-t rsa1 (the public key file is called
identity.pub in this case).
ssh-add ssh-copy-id user@host # (roughly) equivalent to # cat .ssh/id_rsa.pub | ssh user@host 'cat >> .ssh/authorized_keys'
authorized_keysfile has no more than
/home/userhas no write permission for group and other
/etc/hosts.deny. Both files empty (defaults) allows connection of everyone.
I'm using SSH FS and it works great. A very useful options are:
-o workaround=rename- this solves certain problems with CVS and SVN.
-o reconnect- to reconnect to the host if the SSH connection breaks down (like during hibernation etc.)
For other options run
There is a couple of solutions proposed here http://sourceforge.net/apps/mediawiki/fuse/index.php?title=SshfsFaq (question 25).
For mounting CERN machines, I saved these lines to
#!/bin/bash ssh -q lxplus.cern.ch ssh -q "$@"
Then the mount is done by
sshfs -o ssh_command='ssh_cern' AMachineInCERN:RemotePath LocalMountPath
Does pressing backspace produce funny characters like ^H ? Try running
ForwardX11Trusted yes in your
Put this into your
Host * ForwardX11 yes ForwardAgent yes
/etc/krb5.conf file from
If you want to enable directory listing for a certain directory, put
.htaccess file into the directory. The file shall contain the following line