Ubuntu :: SSH From OSX Using RSA Authentication Error Permission Denied (publickey,password)
Feb 20, 2011
I am trying to set up remote login via SSH from my Mac to an Ubuntu desktop. Here is the error i am getting:
Code: Permission denied (publickey,password). I'll give background:
- Both computers are on the same network
- I'm not using the default port 22
- I have successfully logged in using password authentication, so it isn't a firewall/iptables issue i don't think. I've already worked through those issues!
- I haven't set up any tcp wrappers on the server yet, so nothing is being denied
- I believe the server sshd_config file is setup correctly. I can post it if needed.
Here's debugging info:
bash-3.2$ ssh email@example.com -v
OpenSSH_5.2p1, OpenSSL 0.9.7l 28 Sep 2006
debug1: Reading configuration data /etc/ssh_config
debug1: Connecting to xxx.xxx.x.x [xxx.xxx.x.x] port xx.
debug1: fd 3 clearing O_NONBLOCK
debug1: Connection established.
debug1: identity file /Users/localuser/.ssh/id_rsa type 1
I want to access my desktop from my laptop over the internet, after a while I found this [URL] so I followed the instructions "Access your PC over the internet" and "Logging in from another Ubuntu PC". Everything goes well until I try to run the shell script and get this: firstname.lastname@example.org's password:
I tried my luck with the passphrase associated with the rsa key, with the password of the laptopuser@laptop and with the password of the desktopuser@desktop but I keep getting Permission Denied (publickey, password).
I want to use SSH to connect to my desktop. I have used Ubuntu 10.10's encryption to encrypt my home folder (thus encrypting my .ssh folder). This means that the OpenSSH doesn't have access to my .ssh folder. When I try to log into SSH before logging in on the local machine I get the following error:
If I log onto the machine, then use SSH it works fine. I want to use key based login, One way to get around this error would be use a different authorized_keys file, but I don't know of a way to do this. This is the contents of my sshd_config file:
# Package generated configuration file # See the sshd_config(5) manpage for details # What ports, IPs and protocols we listen for
I'm having a remote server running SSH, I use the scp from my local computer like this:scp filename.txt username@IP:Port:home/usernameit asks for the password, I supply it, he doesn't accept it for 3 times and then I get "Permission denied (publickey,gssapi-with-mic,password)"
I am trying to ssh into one of my boxes and I keep getting a returned error "permission denied" (publickey, password).
I know that I am using the correct password. I have also set my router to forward the port to the correct IP. I am using the login option-l to specify the user that I want to log into the server as. On another box I removed some options from the ssh_config so that it would only use password authentication and THIS WORKED. On the new box, however, I do not see any option for removing the other authentication methods. Can I stop the ssh from the client from trying to use the other methods of authentication (I'm guessing this is what the publickey error is)?
I have OpenSSH_5.5p1 on my Fedora 10.I generated a key pairs using ssh-keygen and added the pub key to the remote machine that I wanted to connect. When I try to sshing, I am getting : Permission denied (publickey,keyboard-interactive).When I try to connect to the machine itself also getting the same error.
I did create an rsa certificate with ssh-keygen using my root account on a client: ssh-keygen -t rsa -b 2048 no passphrase I did copy the rsa pub_key from my client to the server scp id_rsa sampleuser@sampleserver:/home/sampleuser/.ssh/authorized_keys
I did change the ownership to the "sampleuser" of the pub key file on the server: I trayd to connect: ssh sampleuser@sapleserver
I get that: permission denied (public key)... I know I do smth wrong but I don't know what.
It seems that every time I try to dowwnload any apps kept on asking me for authetication and a password and later denied me the download. Where is the password it kept asking and should get the authecation automatic (Why to)? I'm new at this so pardon for my ignorance. Looking forward to use your os.
I have created a basic ssh server and i haven't done any configuring to it other than to port forward port 22. i am trying to connect to it from a client computer (they are on the same router). i enter the command "SSH <IP of the server>", and it asks me for the password. i have tried "SSH <my user name>@<IP of client>", but it says permission denied.
when I try to su, with the right password I know it is because I have reset it with a sudo, it says su: incorrect password. Looking at /var/log/messages I see su: Unable to open admin password file: Permission denied. This must mean that the file has incorrect permissions and or owner/group. I am wondering if anyone knew where the file was located and the correct permissions/owner/group.
I am having problems gaining access to the BackupPC admin web page. The error:
[Tue Feb 22 16:43:59 2011] [error] [client 192.168.0.2] (13)Permission denied: Could not open password file: /etc/BackupPC/htpasswd [Tue Feb 22 16:43:59 2011] [error] [client 220.127.116.11] access to /backuppc failed, reason: verification of user id 'myhtaccessuser' not configured
Why is this occuring, is there anyway of getting around this? I just cant remember originally on my old system how I set this up.
I have a shared directory on another machine but I can't get it to mount. The permission denied doesn't say where/which permission is denied. Is it on the remote on on the local machine? The remote has sharing enabled for the shareddocs directory and after I have mkdir'ed the local mount point I open it's permissions too.
The verbose response from mount.cfis looks like this:
mount.cifs kernel mount options: unc=//192.168.1.102shareddocs,domain=WORKGROUP,ver=1,rw ,username=clive,,,,,,,,,,,ip=192.168.1.102,pass=** ****** mount error(13): Permission denied Refer to the mount.cifs( manual page (e.g. man mount.cifs) The man page does not have a list of error codes.
I am having difficulties with Pure-FTPD. I had it working at one time. I recently had to reinstall Ubuntu 10.10 because pure-ftpd stopped working for some reason and now I have a fresh install but pure-ftpd still does not work. This is what I did to install it.
Sudo apt-get install pure-ftpd
Using the Ubuntu Spftware Center I installed PureAdmin. I then create a virtual user. Then in the terminal entered the following:
I read somewhere that this could be a filezilla issue and to fix it I need to use active mode and use the filezilla external address [URL]... Of course I did this and the filezilla solution did not work this time. I am fairly sure it is a server issue this time.
I'm having a permissions problem with Ubuntu and apache. There are two users, I'll just call them A and B. All of the files belong to A and group root. I'm logged in as B and I have admin privileges. My website is working just fine but when I create a directory in the web root, change the owner to A on the directory and all files I still get a Permission Denied error when I try to access it from the web. I've also set permissions to rxwr-xr-x on the directory and all the files. So I don't understand what's going on. Why am I still getting a permission denied error?
I am using Ubuntu server edition 10.04.1 running in Vmware server 2.02.I am connect via Putty so I can use copy and paste.My first goal is configuring a ftp server using PureFtpd using this guide.In section 10 I need to write this command
I'm trying to create a folder using the archive manager to install Resin (web server) in the usr/local folder but I get the error message 'error creating directory: Permission denied.' Is this the easiest way to install an app--by using the Archive Manager--and if so how do I establish the correct permissions.
I'm breaking my head on this.I want to create a development environment. This means that I want to be able to create/change files myself, but php should be able to do the same. I installed a lamp-stack using tasksel. Afterwards I installed phpmyadmin. So far so good. Going to http://localhost shows "it works".
Then I created a folder /home/hwc/www and created a new apache site called hwc, disabled default and enabled hwc that points to /home/hwc/www and has the directive AllowOveride All set. But when I go to http://localhost know I get a 403 Permission denied error. I've tried several trings like changing ownership of /home/hwc/www to www-data:www-data, to hwc:www-data, to hwc:hwc, but all to no avail. Even adding www-data to group hwc and hwc to group ww-data did not help. According to other posts at least on of these solutions should have worked, but it did not. I could probably fix it by letting apache run as hwc, but that doesn't seem right.
When trying to mount samba share off of domain member server sysimage in Windows receive error "There are currently no logon servers available to service this logon request". When trying to mount.cifs from PDC to samba share on sysimage receive error "mount error(13): Permission denied".
PDC is ClearOS 5.2 named "dc0" Samba file server is CentOS 5.5 x86_64 named "sysimage" dc0 Samba version is samba - 3.5.5-1.1.v5.i386 sysimage Samba version is samba-3.0.33-3.29.el5_5.1.x86_64
dc0 is configured correctly to my knowledge, windows machines can join domain, domain users can log into windows machines, user directories are mapped properly, logon scripts run properly. sysimage ldap authentication is set up as shown in "Procedure 7.1.
I wanted to save a python program because I am reading byte of python and I went to save in !/usr/bin. When I try to save in this folder I get this error "[Errno 13] Permission denied: 'usr/bin/helloworld.py'.
I wanted to setup a local Apache2 server for some programming and testing. I installed and got Apache2 working with PHP, MySQL and all works fine. Now I wanted to add an additional directory to somewhere in my /home. And that's where things went wrong. I went to edit /etc/apache2/sites-available/default. This is it:
Code: You don't have permission to access /po/ on this server. So I go to the logfile; which says this: Code: [Sat May 08 16:43:51 2010] [error] [client 127.0.0.1] (13)Permission denied: access to /po/ denied
I tried a lot of stuff using chmod and chown, but all to no avail. I tried to change the ownership of the /home/name/web to root, and to www-data, I changed file permissions to allow executing the files.
I had Fedora 8 installed in few clients and a server (same server for NFS and NIS), and NIS and NFS configured, and was working fine. Yesterday, I upgraded few client computers to Fedora 15 (server is still same), and configured NFS and NIS client. NFS is working fine, I can see home directories.
For NIS: ypwhich, ypcat passwd gives me correct uutput, ypbind is running. The problem is, I can't login to NIS client. The error is: Permission denied, please try again. My nssswitch.conf is