Ubuntu :: Connecting To Home Server Via SSH - Permission Denied
Sep 22, 2010
Is it possible to SSH to a remote computer from within an SSH session? I'm connecting to my home server via SSH, and trying to connect out to my VPS. I know the key.ppk file works, as I can use it to connect directly from my PC. The output I'm getting is shown below:
Code:
# ssh -i key.ppk -v -l myuser myuser@domain.co.uk
(tried various ways of doing this)
Code:
OpenSSH_4.6p1 Debian-5ubuntu0.1, OpenSSL 0.9.8g 19 Oct 2007
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to mydomain.co.uk [123.456.789.012] port 22.
debug1: Connection established.
debug1: permanently_set_uid: 0/0 .....
debug1: PEM_read_PrivateKey failed
debug1: read PEM private key done: type <unknown>
debug1: No more authentication methods to try.
Permission denied (publickey).
There's nothing I can see in the auth.log file on the VPS.
View 2 Replies
ADVERTISEMENT
Jul 21, 2009
I have a strange problem when I do SSH to a FEDORA9 based Linux Server.
[Code]....
When I login using "adah" username in TELNET I am automatically directed to my home directory at location "/media/disk-1/home/adah". But when I use SSH to login using the same username I get the following message Code: Could not chdir to home directory /home/adahaj: Permission denied
View 7 Replies
View Related
Jan 6, 2010
I have a secondary disk which holds a /home directory structure from a previous install of Linux. I installed a new version on a new primary drive and mounted this secondary drive as the new /home. Problem is, even though the users are the same names and I can access the home directories for the users, I cannot login directly to their home directories, as I get the following error: -
Code:
login as: [me]
[me]@[machine]'s password:
Last login: Wed Jan 6 18:34:33 2010 from [machine]
Could not chdir to home directory /home/[me]: Permission denied
[[me]@[machine] /]$
Now, since the usernames are correct and the users are in the passwd file with the correct home directory paths, could it be user ID's that are different or something else? It's not as though I cannot access the home directories for the users, simply that I cannot log directly into them from a login prompt.
View 14 Replies
View Related
Sep 8, 2010
I have a strange problem I ssh to a remote server using the username "madel" and it gives me a strange error:
Last login: Wed Sep 8 18:17:51 2010 from greece.doe.carleton.ca
Could not chdir to home directory /home/madel: Permission denied
grep: /home/madel/.bashrc: Permission denied
Preparing your .bashrc for Linux
[Code]...
View 3 Replies
View Related
May 22, 2011
Running Ubuntu 10.04 I logged into (sudo?) (root?) using:
Code:
sudo -s
and then entering my password.
I navigated into the home folder and viewed the long listing of it's contents using:
Code:
root@host:~# cd /home; ls -l
total 4
drwxr-xr-x 65 uname uname 4096 2011-05-22 17:14 uname
[Code]...
View 5 Replies
View Related
Sep 8, 2010
I ssh to a remote server using the username "madel" and it gives me a strange error:
Last login: Wed Sep 8 18:17:51 2010 from greece.doe.carleton.ca
Could not chdir to home directory /home/madel: Permission denied
grep: /home/madel/.bashrc: Permission denied
[code]....
View 2 Replies
View Related
Sep 9, 2011
I have tried changing permissions and I have looked for a solution, but the error still exists.In fact it gives me a different error every time I log in.
Could not chdir to home directory /home/rb27: Permission denied
here is a snippet of what I get when I use the command ls -al:
drwxr-xr-x 16 root root 0 Sep 8 18:28 .
drwxr-xr-x 23 root root 4096 Feb 5 2011 ..
d????????? ? ? ? ? ? ajd74
d????????? ? ? ? ? ? ban45
d????????? ? ? ? ? ? rb27
I cannot log in as root since the permission is denied
View 1 Replies
View Related
Nov 8, 2010
I am installing oracle 11g on Oracle enterprise Linux 5 i applied all the steps in doc [URL] when trying to switch user to user oracle i am facing the below
[root@oel5 ~]# su - oracle
su: warning: cannot change directory to /home/oracle: Permission denied
-bash: /home/oracle/.bash_profile: Permission denied
View 14 Replies
View Related
Mar 1, 2011
I have a user (let's call him John) who is not able to list contents of several 777 directories even though it appears he has permission to.
Case in point, as root:
Code:
Code:
If I use ls -a or strictly ls as john, I can list the contents of the nss directory:
Code:
That says to me that I have an issue listing permissions. Fine, I don't really need john to be able to list permissions. I want him to have rwx access to /media/nss/ENG which as you can see from my listing as root shouldn't be a problem since the perms on that dir are 777.
I am able to CD into the ENG directory or any other directory or subdirectory in /media/nss that has equivalent 777 perms, but once in the directories I can't list the contents:
Code:
I can get anywhere and do anything I want under the media/nss folder as john, except listing files. I even tried using an ACL i.e.
Code:
Why this isn't working?
View 8 Replies
View Related
Apr 12, 2011
I am trying to give an SSH user on my server permission to compile C exploit with gcc, and I have had no luck. Every time i try to run gcc i get: "sh: /usr/bin/gcc: Permission denied. Has anyone else had this problem with this ?
View 2 Replies
View Related
Feb 20, 2010
fresh install of ubuntu karmic server. fresh, vanilla install of openssh-server attempt to connect either via standard ssh, linux client or puTTY win32 client system (both on local LAN)
First connect is great. connection established.
Second connection (via multiple clients) screams that: "WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!" and since I have strict checking, won't let me continue.
So, i do a little
Code:
To flush it out (i have backups,).
Then i try again:
I get the typical "Are you sure you want to continue connecting (yes/no)?" and i say yes. at which point, i offer the password for the username in question and it flat out refuses: "Permission denied, please try again."
Ok, so i have even gone as far as do a complete rip and replace of the ssh server and it's config files, however this continues to loop and repeat.
So, question one: Why does my key change?
Question two: Why am i getting "permission denied" errors on subsequent connect.
View 9 Replies
View Related
May 12, 2010
I have a mount problem with a NFS server on Debian Lenny. No matter what I do, I cannot mount a directory from another Debian box on the same network.
The error the client gives:
The server reports:
But there it is, in my exports:
cat /etc/exports:
Doing a:
NOTE: this default has changed since nfs-utils version 1.0.x
Comes up empty (and it should not, right?)
There is no firewall inbetween. No access restrictions via the tcpwrappers.
View 8 Replies
View Related
May 25, 2011
I am getting permission denied after su - <username>. I have checked the permission and did not get any error.
[root@NF-Provider-SOC /]# su - nfadmin
-bash-3.00$ cat /var/log/messages
cat: /var/log/messages: Permission denied
-bash-3.00$ pwd
/home/nfadmin
-bash-3.00$ which bash
/bin/bash
-bash-3.00$ crontab -l
cron/nfadmin: Permission denied
-bash-3.00$ id
uid=501(nfadmin) gid=503(nfadmin) groups=502(dba),503(nfadmin)
-bash-3.00$ tailf /var/log/messages
Cannot open "/var/log/messages" for read
Permission denied
and permission in home dir is 755.
View 1 Replies
View Related
Apr 16, 2010
I have created a new partition
/dev/cciss/c0d0p2 8489 17709 74067682+ 83 Linux
I formatted it with
mkfs.ext3 /dev/cciss/c0d0p2
[code]....
View 11 Replies
View Related
Jun 16, 2010
I installed proftpd on a new CentOS 5 server, yet when FTPing in (I can log in fine), the files and directories do not list and I get a "550 filename: Permission denied" error each time I try to "put" or "get" a file (I can tell that the file is there, though, because if I try to access a non-existent file, I get a "No such file or directory error" instead of the permission denied error).
View 10 Replies
View Related
Nov 25, 2010
If I try to connect to 192.168.1.100 server, I get:
Code:
Unfortunately, I don't manage this 192.168.1.100 server. Am I correct, that sshd on 192.168.1.100 supports only publickey authentication because:
Code:
I have .ssh/id_rsa present. Any ideas, what might cause this "Permission denied (publickey)" issue?
View 2 Replies
View Related
Jan 23, 2011
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.
View 8 Replies
View Related
May 19, 2011
i can upload and download things from/to my ftp server but when i want to Overwrite a file it shows me that:
PHP Code:
error 550 server.cfg: Overwrite permission denied
What can i do i gave premmision to download and upload so whats the problem
View 1 Replies
View Related
Nov 5, 2010
Short version:I began getting "out of space" errors on my soho server this week. I know I only had about 300Gi of data on the 640Gi drive. I can't find what's using the extra space. As the attached screenshots show, "sudo xdiskusage" finds a block of 223.7Gi with "permission denied" but sudo Disk Usage Analyzer doesn't see it. What is using the space, and how do I reclaim it?
Long Version:I first tried to figure something out using SSH and the df and du commands, but my command line knowledge is weak. I tried to log onto Gnome to use its console but kept getting booted back to the GUI login. After deleting some old files using Webmin, I finally was able to log into Gnome and use some GUI utilities. As you can see from the screenshots, "sudo xdiskusage" finds a block of 223.7Gi with "permission denied" but sudo Disk Usage Analyzer doesn't see it. The system behaves as if that block is real denying me use of that space.
I suspected the manner in which I've mounted the second HD for use as backup storage only might be the problem, but really have no clue how to confirm that. The system returns the same numbers regardless of whether the second drive is mounted or not.
I've attached the dmesg results in a text file
Computer Details
Ubuntu 10.10
4Gi RAM
1 640Gi HD mounted as /
1 640Gi HD mounted as /backup (used only by Simple Backup)
Running Server Apps: Samba, Apache, SSH, mySQL, webmin
View 2 Replies
View Related
May 2, 2010
I just set up a storage server with NFS sharing. Everything work fine but, when trying to mount the remote partition on my ws, this is the issue:
/usr/sbin/start-statd: line 8: /sbin/rpc.statd: Permission denied
/usr/sbin/start-statd: line 8: /sbin/rpc.statd: Success
mount.nfs: rpc.statd is not running but is required for remote locking.
mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
I tried so to mount it locally :
mount.nfs: access denied by server while mounting localhost:/var/ftp/pub /mnt
I don't think it depends because of the permiss of the directory, and anyway it's 1777.
View 4 Replies
View Related
Nov 23, 2010
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.
[code]....
View 1 Replies
View Related
Feb 1, 2010
I've got that vsftpd running on a ubuntu 9.10 machine. Although I cannot upload any file, I always get a "550: Permission denied"-error.
Code:
# Example config file /etc/vsftpd/vsftpd.conf
#
# The default compiled in settings are fairly paranoid. This sample file
# loosens things up a bit, to make the ftp daemon more usable.
# Please see vsftpd.conf.5 for all compiled in defaults.
#
[Code].....
View 8 Replies
View Related
Feb 3, 2010
I'm trying to setup a network boot server and I'm having an issue with tftp. In the /etc/xinetd.d/tftp file, I added the "-v" (verbose) option to the server arg line so that i could figure out what was happening. When i looked at the /var/log/messages log file, it let me know that permission was denied to /tftpboot/nbi_img.
So, in short, my problem is that tftp isn't working because it doesn't have permission to /tftpboot/nbi_img. I can't figure out why. I stumbled upon a site where the user figured out a temporary fix to this issue and what he did was disabled the xinetd service and typed the following command:/usr/sbin/in.tftpd -l -v -v -s /tftpboot/nbi_imgWhen I do this as well, it works! but only until I restart and then I have to do that again. Is there a way to be able to fix that for good?
View 3 Replies
View Related
Dec 1, 2010
Whenever i try to create a account either then the root and login as it i get a error Access is Denied if though the password is correct.
View 3 Replies
View Related
May 24, 2010
After upgrading ubuntu server to the latest version (according to apt-get) proftpd stopped working. When I try to execute proftpd I get the following message (when logged in as root or user with root privileges) :
Code:
Line 18 in modules.conf looks like this:
Code:
I've tried removing and re-installing proftpd, but this doesn't help
If I comment line 18 in modules.conf, I just get permission denied on the next LoadModule command...
Can I remove all modules? or is there a way of fixing the permission denied issue?
View 2 Replies
View Related
May 1, 2011
I am working currently on my server on an issue, I configured the SSH Deamon that only people who have a valid ssh-key can login on to the server, and kicked the password option. Now I've added a user account git. I navigate to his home folder created the folder ".ssh" and created in that folder the file "authorized_keys" I copied my public key in there. Now on my local machine I added that identity (via ssh-add) and I wanted to connect to my server. but when I'm trying to login myself I can't the only message I get is "Permission denied (publickey)."
View 1 Replies
View Related
Jan 9, 2010
I have configured samba server.My requirement was that the path which i have to share was /srv/www/htdocs.With this the shared path for developer user was /srv/www/htdocs/projects.
So in the smb.conf file i made the entries as following:
After that root user was able login to both /srv/www/htdocs and also project folder and developer was only able to login to projects folder.That was according to my requirement but now the problem is that when developer is trying to edit any file in projects folder he is getting error that you dont have permissions to change this file.But developer should be able to edit any files. What changes i need to do now.
View 3 Replies
View Related
Apr 27, 2011
I'm sooo exausted after two days of fooling with this. The problem: Apr 27 17:29:21 mxkasib dovecot: lda: Error: userdb lookup: connect(/var/run/dovecot/auth-userdb) failed: Permission denied (euid=8(mail) egid=12(mail) missing +w perm: /var/run/dovecot/auth-userdb, euid is not dir owner)
Obviously, dovecot-lda, instanced by postfix, couldn't access the auth-userdb file because of permission. There are plenty of topics over the internet, the problem is really simple. Except for I've got all the permissions needed, or it seems to me so and I'm missing something. Here is some additional information:
[Code]...
I've given all the permissions I could imagine. It's even devil 666, and it still complains.
View 2 Replies
View Related
Jun 2, 2009
I followed instructions from here: [url]
Everything seems to be ok but if I try to login it says following:
I have tried with numerous clients and accounts but still nothing, I cant get past the login. What may be wrong?
Here is the log from account creation, could the last line be causing the problems?
I had some hassle with the last two iptables lines but once I took away RH-Firewall-1 from those lines iptables gave no error anymore.
I changed this: -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 21 -j ACCEPT
To this: -A INPUT -m state --state NEW -m tcp -p tcp --dport 21 -j ACCEPT
View 4 Replies
View Related
Jan 4, 2010
i can't get cyrus mailbox created. what i get is only error:
cm user.test.test
createmailbox: Permission denied
if i try user without "lastname":
cm user.test
createmailbox: System I/O error
here's maillog message:
Jan 4 13:08:09 pigeon imap[21695]: login: host.domain.com [127.0.0.1] cyrus plaintext User logged in
Jan 4 13:09:12 pigeon imap[21695]: IOERROR: creating directory /mail/imap: Permission denied
[code].....
View 2 Replies
View Related