I am trying to create public key on my AIX server on other than home directory.However the command does not ask for
Enter file in which to save the key :
It is directly taking me to Enter the passphrase.
I don't want to save the key in home dir as that is the home dir for other userID too.
Please help.
Here is the screenshot :
$ ssh-keygen -t dsa -b 1024
Generating 1024-bit dsa key pair
9 oOo.oOo.oOoo
Key generated.
1024-bit dsa, sk44907@ccbap-tst1502.XXX.xxx.net, Thu Feb 16 2012 16:20:56 -0600
Passphrase :
Again :
Error occurred, private key not written: No such file or directory / Failed to open `/home/sk44907/.ssh2/id_dsa_1024_a': No such file or directory / Failed to write private key.
Error occurred, public key not written: Failed to open `/home/sk44907/.ssh2/id_dsa_1024_a.pub': No such file or directory / Failed to write public key to file.