Ubuntu Servers :: Ssh Server - Permission Denied - Please Try Again

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


ADVERTISEMENT

Ubuntu Servers :: Password To Log Into SSH Server - Permission Denied

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

Ubuntu Servers :: Proftpd Permission Denied After Upgrade From Server 8.1 To 9.1

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

Ubuntu Servers :: Dhcp3-server Fails To Start - Can't Open /etc/dhcp3/dhcpd.conf: Permission Denied

Oct 1, 2010

I installed dhcpd using:

Code:

Now when I try to run it, I get this weird error:

Code:

The error was:

I changed permissions to 777:

Code:

To no avail!

It's got something to do with AppArmor.

I don't think it is installed on this system:

Code:

View 1 Replies View Related

Ubuntu Servers :: SATA/PATA - Permission Denied

Apr 18, 2010

I'm currently running Karmic on a old Dell Pentium 4, and I am having trouble copying files to this box from my laptop which is running Linux Mint Helena. I am able to see and connect to the shared directory on the Dell, copy and execute files from there, but cannot write to it. The permissions have been set to 777 on the shared directory and sub directories within that. The older Dell has a PATA hard disk, 300gb, while my newer laptop has a SATA hard disk. I've read that this can be a problem, and permissions may not be recognized? I'm not able to connect to the laptop from the Dell, neither of the administrator logins work, though I maybe need to do this as root?

Here is the smb.conf file I am running on both machines:

I want to be able to write to my server, not just read and execute. I am also not able to write to the server when logged on to a windows machine on the same network.

View 2 Replies View Related

Ubuntu Servers :: Root Permission Denied Errors When Using Apt

May 6, 2010

Just had a new VPS installed running Ubuntu Server 8.04 Getting some errors when I connect to the server and try to use apt.. only trying to install nano and after messing around I've managed to get the error to change.. but still can't get any further.

error

Code:

# sudo apt-get install nano
Reading package lists... Done
Building dependency tree
Reading state information... Done

[code]....

View 4 Replies View Related

Ubuntu Servers :: SSH Error: Permission Denied (publickey)

Aug 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:

Code:

jason@ONONWARA:~$ ssh jason@192.168.1.152
Ubuntu 10.04.1 LTS
NIHATI
Permission denied (publickey).

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

[code]....

View 2 Replies View Related

Ubuntu Servers :: Cat Command Gives Error Permission Denied

Aug 28, 2010

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

cat /dev/null > /etc/pure-ftpd/db/mysql.conf

I am getting this error

almog@Testing:~$ sudo cat /dev/null > /etc/pure-ftpd/db/mysql.conf
-bash: /etc/pure-ftpd/db/mysql.conf: Permission denied

I tried with and without "sudo" and I am getting the same error.

View 3 Replies View Related

Ubuntu Servers :: Rp_filter Why Can't Disable - Permission Denied

Apr 29, 2011

I am setting up WCCPV2 with squid with my ASA Box. I need to disable RP Filter with the following commands.

echo 0 >/proc/sys/net/ipv4/conf/wccp0/rp_filter
echo 0 >/proc/sys/net/ipv4/conf/eth0/rp_filter

When i run them as sudo i get a permission denied.

View 1 Replies View Related

Ubuntu Servers :: Permission Denied Error 13 On Apache2 Setup

May 8, 2010

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:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny

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.

View 6 Replies View Related

Ubuntu Servers :: Permission Denied Dumping Master File?

Mar 21, 2011

I am attempting to setup an Ubuntu server as a secondary DNS server. It seems whenever it tries to dump the master file the system log shows Permission denied.let me know if more information is needed.NOTE: where it says example.com I have simply removed my actual Domain name.

Mar 21 21:49:24 ulinux named[14418]: zone example.com/IN: Transfer started.
Mar 21 21:49:24 ulinux named[14418]: transfer of 'example.com/IN' from 192.168.0.15#53: connecte$

[code]....

View 1 Replies View Related

Ubuntu Servers :: Create A New File/dir - Get Permission Denied Message

Apr 22, 2011

I am in the www-data group...

Code:
mike@webserver:/var/www$ groups mike
mike : www-data adm dialout cdrom plugdev lpadmin sambashare admin
when I run ls...

Code:
mike@webserver:/var/www$ ls -la
total 8
drwxrwxr-x 2 www-data www-data 4096 2011-04-22 09:30 .
drwxr-xr-x 14 root root 4096 2011-04-20 18:22 ..
-rw-r--r-- 1 root root 0 2011-04-22 09:24 index.html

I assumed that means that the users in the www-data group can read, write and execute within this folder?

But when I try to create a new file/dir I get permission denied message.

I'm having fun messing around with my new LAMP server, but this problem is annoying me now .

(Oh and the index.html file was created by root, it's a blank file and can be deleted)

View 1 Replies View Related

Fedora Servers :: Can't (su - Vmail) Permission Denied [Courier Set Up]?

Jan 13, 2011

I was setting up a Postfix email server, and I was following a basic tutorial here. I successfully installed all the required packaged, and then set up a Virtual user for the mailbox, and Set up a new user with this.

Code:
groupadd -g 5000 vmail
useradd -g vmail -u 5000 vmail -d /home/vmail -m

[code]....

View 1 Replies View Related

Ubuntu Servers :: Solid-pop3d Gives Permission Denied On Opening Mailbox?

Jan 31, 2010

The user "abimail" has a mailbox specified in /home/abimail/.spop3d which is /var/mail/abimail. The permissions of /var/mail/abimail are:

Code:
rwxrwx--- 1 abimail mailgroup 192113 2010-01-28 20:24 /var/mail/abimail. When logging in to solid-pop3d as user abimail and attempting to fetch mails, the login works but it will pop up the error "can't open mailbox file"; syslog entries:
Code:
Jan 31 17:38:10 h1347290 solid-pop3d[23857]: user abimail authenticated - 87.176.220.50
Jan 31 17:38:10 h1347290 solid-pop3d[23857]: mailbox: can't open mailbox file: /var/mail/abimail
Jan 31 17:38:10 h1347290 solid-pop3d[23857]: mailbox: open: Permission denied

[Code]...

View 2 Replies View Related

Fedora Servers :: Mounting Samba Shares Permission Denied?

Jun 2, 2011

I setup a Samba share and I cannot connect. I can mount in on local host but when I CD to the folder I mounted the share on I get access denied when I run ls.

cat /etc/samba/smb.conf
[W$]
path = /Files/
valid users = admin

[Code]....

View 2 Replies View Related

Server :: Permission Denied With Ls -l Or Ls -la But Ls Ok

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

Server :: /usr/bin/gcc: Permission Denied?

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

Ubuntu Servers :: Unable To Install Postfix Atal: Open Database /etc/aliases.db: Permission Denied?

Mar 14, 2010

Running newaliasespostalias: fatal: open database /etc/aliases.db: Permission deniedin my /etc I do not have a aliases.db only an aliases.I cp aliases aliases.db but when I try and install post fix again it gives me the same error and aliases.db goes away.

View 9 Replies View Related

Networking :: NFS Server - Permission Denied ?

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

Server :: Permission Denied After SU - Username

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

Server :: Permission Denied On New Partition?

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

Server :: Proftpd Getting 550 Permission Denied

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

Server :: Ssh - Permission Denied - Publickey

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

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 View Related

Ubuntu :: Error 550 Server.cfg: Overwrite Permission Denied

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

Hardware :: 223.7Gi Block On Server HD - Permission Denied ?

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

Networking :: NFS Server Mount - Permission Denied

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

Server :: Mount Error(13): Permission Denied

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

Server :: Vsftpd - 550 Permission Denied For Upload

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

CentOS 5 Server :: Tftp Permission Denied?

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







Copyrights 2005-15 www.BigResource.com, All rights reserved