Are you trying to remove a directory ? Or remove the file within the directory ? Or edit the file wihtin the directory?
Reads like the directory is already created, or the permissions are messed up.
Note one should as much as possible NOT login with root permissions, as it is very easy for users not familiar with a function to mess up permissions when running with root permissions.
Why cannot your user run /usr/lib/ssh/ssh-askpass? Check permissions on
there. This may not be as much key-related as it is a problem with files
in your filesystem. Have you changed the permissions on your system from
‘Easy’ to ‘Secure’ or ‘Paranoid’ or something? Post the output from:
ls -l /usr/lib/ssh/ssh-askpass #should be world-executable
rpm -V openssh-askpass
echo $?
I’m not sure where you’re going wrong but create a new user and try from
there. Post the output from:
sudo /usr/sbin/useradd -m ab
sudo echo ‘novell’ | passwd --stdin ab
su - ab #enter the password of novell
ssh-keygen #press enter until completed, posting all output)
ssh-add #press enter when it asks you about your new key #try to SSH again, still capturing output to post back here.
Good luck.
On 04/07/2010 02:16 AM, slovarik wrote:
>
> file in directory be 0 size…
> I’m try rename, edit… nothing…
>
> i’m create directory and try
>
> slava@slavaserver:~> mkdir .ssh
> slava@slavaserver:~> ssh 192.168.5.123
> ssh_askpass: exec(/usr/lib/ssh/ssh-askpass): Permission denied
> Host key verification failed.
> slava@slavaserver:~>
>
> Directory .ssh empty…
>
>
> I’m add user “slava” in group “root”… nothing
>
>
> slava@slavaserver:~> ssh-keygen -R 192.168.5.123
> fopen: No such file or directory
> slava@slavaserver:~> ssh-keyscan 192.168.5.123
> # 192.168.5.123 SSH-2.0-OpenSSH_5.2
> 192.168.5.123 ssh-rsa AAAAB3Nza************DpDEpguk=
> slava@slavaserver:~>
>
> i’m not understand where i’m can find this key "192.168.5.123 ssh-rsa
> AAAAB3Nza"?
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/