UNIX

How can I change my password?

The password in the HNI corresponds to that of the IMT. It can only be changed via the web mask of the IMT user administration.

How can I log on to another computer with ssh without having to enter a password?

The SecureShell SSH supports public key authentication. This requires a pair of keys: a private and a public key. This is done with the ssh-keygen programme. Attention: When asked for a passphrase for the private key, you must not enter anything if you want to work completely without entering a password.

The keys are stored in the .ssh2 directory in the home directory. Two more files must now be created there: the identity and the authorisation. The content should be as follows:

odenbach@robin[~/.ssh2]>>ls -l
total 8
-rw-r--r-- 1 odenbach gurus 22 Sep 26 14:58 authorisation
drwx------ 2 odenbach gurus 1024 Oct 16 11:48 hostkeys
-rw------- 1 odenbach gurus 1392 Sep 26 14:57 id_dsa_2048_a
-rw-r--r-- 1 odenbach gurus 1260 Sep 26 14:57 id_dsa_2048_a.pu
-rw-r--r-- 1 odenbach gurus 20 Sep 26 14:58 identification
-rw------- 1 odenbach sct 512 Oct 16 15:42 random_seed
odenbach@robin[~/.ssh2]>>cat identification
IdKey id_dsa_2048_a
odenbach@robin[~/.ssh2]>>cat authorisation
Key id_dsa_2048_a.pub

It is also important that your own home directory has at least the rights 701 so that the SSH server can also read the authorisation file.