General :: Scp Gives "Permission Denied (publickey,gssapi-with-mic,password)"?
Feb 4, 2011
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 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: laptopuser@123.456.7.890'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 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 localuser@xxx.xxx.x.x -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 [Code]....
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 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 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:
Code:
# Package generated configuration file # See the sshd_config(5) manpage for details # What ports, IPs and protocols we listen for
I'm trying to add a key public key for my dev box which is a vm running ubuntu natty, and I am unable to connect via ssh. I've tried rsa and dsa, as well as these commands:
I am having problems gaining access to the BackupPC admin web page. The error:
Quote:
[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 82.30.227.113] 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 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 trying to get kerberos ticket forwarding via SSH to work between RHEL and Ubuntu. It is working, when connecting from Ubuntu to RHEL, but not the other way round. (It also works between RHEL machines.) I have enabled the GSSAPI features in both SSH client and server, checked keytabs and verified, that my ticket is forwardable.
Any idea, how to get more information? Could it have s. th. to do with using allow_weak_crypto=yes in our krb5.conf? I have to use that, because our kerberos server only supports DES encryption.
I'm trying to login to a server using gssapi-with-mic authentication against one of my school's machines that supports this mode of authentication. I have these kerberos packages installed:
batrick@menzoberranzan:~$ dpkg -l | grep krb ii krb5-config 2.2 Configuration files for Kerberos Version 5
I have a Kerberos/LDAP/OpenAFS server running on Debian lenny, set up according to Davor Ocelic's excellent guide here (url). SSHd has ben configured to use GSSAPI auth and the clients have been configured to pass auth tokens through to the server.
My clients are all Ubuntu 9.10 x86 fully patched. On the clients, OpenAFS has been compiled and installed as a kernel module and git 1.6.6 has been compiled from source and installed. Otherwise, all software is stock Ubuntu repository-ware.
The setup is working fine as long as I connect to the primary server using its hostname:
peter@client01:~$ ssh nana <connection goes through seamlessly without prompting> peter@nana:~$
If I try to connect via a DNS alias (actually a second CNAME record), I get:
I need both passwordless auth and the DNS alias working, as it's internal policy that user connections are only ever made to service names, not real hostnames.
I have tried adding a second host principal to Kerberos for the alias (git1.darling.local) in addition to the host principal for the hostname (nana.darling.local).
If I turn off PasswordAuthentication in sshd_config, then "ssh git1" doesn't even fall through to passwords; it just denies logins. So it looks like it's not even using GSSAPI for the DNS alias.
So:
1) Is what I want even possible? I can't find anything that indicates that there's anything odd about DNS aliases such that this should happen.
2) Which config files should I post to help debug this? There's a lot and I didn't want to start blarfing them here if they aren't helpful.
I'm running PCLinuxOS with no other OS installed. Thought I'd have a go at chainloading. just for interests sake.So, I opened Konsole, entered su and entered my root password. The command line turned red so, I imagined all was well. But when I then keyed in '/boot/grub/.menu.lst' I was refused access.
I'm hoping someone can help me out with this issue I'm having using acl(s). I have a user I want to grant access to logs I have stored on my server. I am doing this by setting up an acl to that directory where the logs are stored. My settings seem to look fine, however I cannot read or even reach the directory with the said user; we'll call him "userP". Here is my code:
To ensure userP has access to the parent directory (jboss) code...
Not sure what I'm doing wrong here: there are no errors in the logs; just "Permission denied" however I try to get to the directory. Does anyone know what I'm doing wrong?
I am installing Oracle 11g on Oracle Enterprise Linux 5.0 32 bit (virtual machine)i did all the mandatory steps, i am trying to run the installer but i am facing the below:bash: ./runInstaller: /bin/sh: bad interpreter: Permission deniedknowing that the run isntaller is found in an iso file, in which i linked the VMwarre CD/DVD drive to it
i am trying to make my SSH-server more secure on my unbuntu server. And i want to do a little modifiing to the /etc/ssh/sshd_config folder. When i try to accsess it is says permission denied if i do sudo /etc/ssh/sshd_config it says command not found.
when i logging with root then i saw message "permission denied" Then i changed root shell directory "usermod -s .usr/ root" but it says "permission denied" again. what is the default shell directory, or what can i do for change permissions.
I am not sure if this is posted somewhere else, if it is sorry. Anyways I downloaded files to my desktop from firefox and i need them to be in usr/local file, but if i try to put it in there it tells me permission denied. Is there anyway around this?
I have created user, group, gave permission chmod and chown with -R option. But when i try to enter into the directory for that created the user and group, I can not enter into.
When I create a folder in the system, it's created successfully Code: [test@localhost localhost ]$ cd test/ -bash: cd: test/: Permission denied drw-rw-r-- 2 test testinstall 4.0K Sep 16 18:51 test