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 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 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 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'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'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 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 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.
Gives error message permission denied. I've seen this in your forums but I still haven't found the fix. I've tried the latest release Wubi downloader too. This one is ran from a CD. Version 10.04
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.
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.
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
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.
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.
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?
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$
I want to install Ubuntu 4.10. But I get error permission denied face. I do not have CD-ROM. How can I do this?Is it possible to install via USB? [URL]
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.
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
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?
Im trying to move some files from my desktop to /usr/share/ProjectM Project M is a visualization program, and Im trying to move some presets I downloaded there. The error I get is
Code:
There was an error moving the file into /usr/share/projectM/presets. Error moving file: Permission denied
I am logged in as administrator, why can't I move these files?
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.