[SOLVED] SSH scp permission denied, doesnt make sense
location: linuxquestions.com - date: October 13, 2009
using a terminal
logged into userMan remotely
scp /file.txt xxx.xxx.xx:/home/userMan/
is the syntax above correct?
I'm trying to copy /file.txt from local machine, to server with userMan
error: /file.txt doesn't exist
got a headache trying to figure this sht out, I hope this makes sense
[SOLVED] ssh problem. (Permission denied (publickey,gssapikeyex,gssapiwithmic,password).)
location: linuxquestions.com - date: December 9, 2012
While trying to ssh my system from the test server I get this error:
[SOLVED] ssh problem permission denied
- date: March 11, 2009
I have two servers: A and B with centos 5.2 x86.
The problem is from A to B (ssh [email protected]
) works fine.
However from B to A (ssh [email protected]
) shows "permission denied".
If copy "/etc/ssh/sshd_config" of A to B, then will this problem fix?
[SOLVED] Unable to remote ssh login (permission denied)
location: linuxquestions.com - date: June 13, 2013
Im using RHEL 6. I have setup two user accounts as below:
1. john (home dir: /home/john)
2. robert (home dir: /home/john/robert)
After I setup both account, I’ve no problem to login using john account from remote terminal but login using robert was failed with error message ‘permission denied’.
This only happened when I used remote terminal to login but if used switch user (su –l robert) internally from the server which the user account robert was created, I managed to login.
My early assumption was this error occurred due to home dir of robert which was setup under john home dir. Unfortunately changing the permission of home dir also didn’t give any helps.
And fyi, I have no problem to login using other user accounts including root as these account home directories are independently setup unlike john and robert accounts.
I wonder if anyone has encountered the same issue when setting up such users account/home directories?
[SOLVED] sudo giving permission denied on Linux
location: linuxquestions.com - date: February 28, 2012
I have a RHEL 5 machine on which I'm trying to run sudo.
I have created a test-eng user and added it in the sudoers file. The sudoers file have the correct permissions 0440. The output of sudoers file is :
FULLTIME ALL=(ALL) NOPASSWD: ALL
I have given the correct setuid permissions to sudo as well. But when i run sudo after logging in from the test-eng user I get permission denied. Have tried almost everything but it doesn't work.
/usr/bin/sudo: Permission denied.
Also the same thing worked for me on a 64 bit machine and this one is a 32 bit machine. So I'm wondering whether this might be a 32/64 bit issue. Please help.
SSH Error: Permission denied (publickey)
- date: August 10, 2010
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:
:~$ ssh [email protected]
Ubuntu 10.04.1 LTS
Permission denied (publickey).
If I log onto the machine, then use SSH it works fine.
I want to use key based login, so pleased don't suggest using a password. 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
# Use these options to restrict which interfaces/protocols sshd will bind to
SSH problem; permission denied, publickey
location: ubuntuforums.com - date: May 11, 2011
Hi, I am a newbie - I just set up a webserver and I had ssh fully working between client and server and vice versa. I then had to change my DNS subdomain, which changed the user/host name on the server. I can no longer log-in with ssh to the server, but I can log into the client with ssh from the server. This seems to me to be a setting I missed somewhere in changing over. I've read the posts pertaining to this, but can't seem to kick it, can anyone help out?
SSH keys permission denied
location: ubuntuforums.com - date: November 6, 2010
After hours of going around in circles I have decided to post.
With loglevel set to DEBUG2, I get the following error.
Error: Could not open keyfile '/home/username/.ssh/authorized_keys/id_dsa.pub': Permission denied
I realize I probably shouldnt be specifying the actual file in the sshd_config, but without it I get the following error.
User <username> authorized keys /home/<username>/.ssh/authorized_keys is not a regular file
I have tried
chown -R <username>:<username> ~/.ssh
chmod 700 ~/.ssh
chmod 600 ~/.ssh/authorized_keys
And still recieve permission denied.
Basically I have generated the keys using sshkeygen and added the private key to puttygen to save in the putty format, before loading it into putty
The only thing that I can think of which might be affecting this is that I have played with the sshd_config file previously when doing some tests with postfix.
Here is the sshd_config as it stands.
SSH command, permission denied
location: linuxquestions.com - date: November 12, 2007
Friday we had a little problem at our server. I was forced to call in the help of Tech support, because our sysadmin is away for a week.
This Tech support has screwed up the ssh command on this server. Whenever i try to connect with ssh to one of our other servers, I get an error message: "bash: /usr/bin/ssh: Permission denied"
It does not matter which user I use, I even tried as root user, but every time I haven't got the permission to execute it.
I can't even execute the help file 'ssh --help'. I think it's rather easy to solve, but I don't know how
/etc/ssh/sshdconfig: Permission Denied
location: linuxquestions.com - date: April 5, 2010
Hey everyone 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.
Page: 1 2 3 4 5 6 7 8 9 10