Ubuntu :: Ssh Disable Password Authentication Not Working?
Aug 16, 2010
I have a problem with ssh.I followed this guide:and no matter what I try, I still can't disable password authentication. I want users to require a private key to prevent from brute force hackers.
View 6 Replies
ADVERTISEMENT
Mar 27, 2010
So after tinkering for a while, I was able to configure ssh for private/public key authentication and disabled Password-Authentication. In the past I had some issues with people brute force trying passwords/usernames so I want to avoid this, but I need some form of secure FTP that now doesn't work due to the aforementioned setting.
View 2 Replies
View Related
Oct 13, 2010
I set up a debian lenny in vmware on my windows machine. The network interface is set to bridged, so the virtual machine is connected directly to the university network i am connected to. I want to be able to ssh into the vm.I installed sshd via "apt-get install ssh", generated a key pair with puttygen and copied the public part to "/home/user/.ssh/authorized_keys", set rights to 600 and then tried to disable password authentication completely, following the "securing debian" documentation.this is how my /etc/ssh/sshd_config looks now:
# Package generated configuration file
# See the sshd(8) manpage for details
# What ports, IPs and protocols we listen for
[code]...
View 7 Replies
View Related
Feb 2, 2010
Is there a way to disable password authentication completely? The command line is the following:
ssh -o KbdInteractiveAuthentication=no -o PasswordAuthentication=no machine"
it STILL asks for a password. Of course I would like to do this without touching the server, if possible.
View 2 Replies
View Related
Dec 19, 2010
How to disable the NTFS drives root password authentication?When I try to access the NTFS drives for the first time after logging in, the system is asking for root password authentication.How can I disable this?
View 1 Replies
View Related
Jan 10, 2010
I want to configure SSH key-based authentication and SSH password Authentication in same machine for different user .
View 1 Replies
View Related
Apr 28, 2010
I have a rather difficult problem. Every time I need root privileges and I am asked to authenticate (i.e. Update Manager, mounting a partition, etc), the password window comes up, shakes and immediately closes, leaving me with no chance to enter a password. What to do?edit: this is NOT the login window, just the little dialog that pops up when you need elevated privileges.
View 5 Replies
View Related
Dec 20, 2010
I am the only user.So i would like to disable authentication for software center and update manager which is being asked everytime when i install softwares/updates..How to acheive it?
View 5 Replies
View Related
Apr 3, 2011
having a slow internet connection, I bought the all maverick repository on DVDs, copied the files on a usb drive and modified the apt sources file to consider the local repository only:
Code:
# deb file:/var/www/ubuntu_local/ ./
deb file:/var/www/maverick/dvd1/ maverick main universe restricted multiverse
deb file:/var/www/maverick/dvd2/ maverick main universe restricted multiverse
deb file:/var/www/maverick/dvd3/ maverick main universe restricted multiverse
[code]....
Even though I am reasonably sure it is safe, this local repository is not authenticated and I can only install package through the command line or synaptic, the Ubuntu Software Centre giving an error message "Requires installation of untrusted packages"...I thus would like to disable the apt authentication check for this local repository.
View 2 Replies
View Related
May 27, 2011
We have installed the Centos on server. I have enabled the ssh key authentication in that server. Now we can connect through ssh only with key file.Since this server is protected with SSH, I am unable to use the SCP command. If I use this command it says "Permission denied (publickey,keyboard-interactive).". Please let me know How Can I disable SSH Key or why SCP command is not working ?
View 4 Replies
View Related
Jan 6, 2010
I'm dual booting Ubuntu 9.10 and win7. I have an NTFS partition on my disk and whenever i want to browse files on that partition I'm required to enter my password. my problem is that my music folder is located on that partition, and as a result, whenever I open rhythmbox, it cant access the files on that partition and begins to remove them from the library. in order to prevent this i must browse to that partition manually and enter my password upon request, prior to opening rhythmbox.
on a side note - shouldn't the spell checker on the Ubuntu forums recognize "Ubuntu" as a legit word ?
View 3 Replies
View Related
Jul 25, 2011
I am running a small ubuntu-server headless machine at home. It is configured with sshd so that I can connect from anywhere (if I have Internet access.)However, there is a thing: I'd like to have good security and disable password authentication, but I also want to be able to connect from a PC that I've never touched before. And no, I'm not prepared to type a 256 bytes password every time I type "sudo ..."
Here is what I thought: I could have a login (pieroxy) that has a moderately strong password and another user (pieroxy-ext) that has a very strong password (100+ chars.) I would use my regular account (pieroxy) whenever I have a key-based authentication and the other one (pieroxy-ext) whenever I have a password-based authentication to do. Then, I'll just su to "pieroxy" and I'm done typing the 100 chars pwd. In order to do that, I would need to be able to configure my machine so that password-based authentication is disabled for all accounts but enabled for my account that has a strong password (pieroxy-ext). Is it possible to disable password-based authentication on a user basis?
View 2 Replies
View Related
Oct 8, 2010
I had installed xp & ubuntu on my laptop hp compaq cq-40. Then i got this problem on su password authentication failure. I had alreadyformat and re installed ubuntu. But the su authentication still failure,
View 2 Replies
View Related
May 3, 2011
I am running Ubuntu 11.04 which I like very much (except for Unity - so I am using Ubuntu Classic).
Whenever I try to use "su - " I get Password Authentication Failure. I have checked Caps Lock (obviously) and have also tried resetting the password using "passwd" - but with no success.
If I use "sudo ...." with a command the password is accepted.
I have the same software installed on two computers but the problem only occurs on one - the other is OK!
View 2 Replies
View Related
Feb 8, 2011
I've been using the Ubuntu desktop for a couple of years now, but I don't have much experience using the terminal.
I've just set up a home server using Ubuntu-server 64bit which will be headless and its main function will be a Mythtv backend.
I've worked out how to use VNC to send a desktop from the server to my laptop, but when I try to use any programs which require root privileges such as synaptic or the user/groups manager, the pop-up asking for authentication refuses to accept my password.
Is there a setting I need to change on the server which prevents remote users from getting root privileges on the desktop?
View 5 Replies
View Related
Jan 7, 2011
I have a weird problem with ssh, I am trying to ssh to a solaris server (sparc) running solaris 10 from my Ubuntu box and as soon as it authenticates the password it closes the connection. The box is located on a internal network in a wiring closet with no ability for me to access console but i still have a working ssh session from 2 days ago with what i'm trying to comb through settings and trying to resolve the issue. It also has 2 NIC's and I cannot connect to the either ruling out hardware problem. I checked if there is a limit of the number of active connections and the was no limit. I was able to connect mitiple session till 2 days ago (at one point i had on my machine 8 active ssh sessions to the same server).
Here is the output of ssh -vvv:
Code: $ ssh -vvv -l user1 10.100.xxxxx
OpenSSH_5.5p1 Debian-4ubuntu4, OpenSSL 0.9.8o 01 Jun 2010
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0 .....
debug3: channel 0: close_fds r -1 w -1 e 6
Connection to 10.100.50.4 closed.
Transferred: sent 1768, received 1688 bytes, in 0.1 seconds
Bytes per second: sent 12077.9, received 11531.4
debug1: Exit status 254
View 1 Replies
View Related
Oct 13, 2010
I have a Ubuntu 10.10 installed on my HP Mini 210, and is having a problemth authentication dialogs when applications requests for elevated permissions. As far as I concern, there are two types of them, one is the kind when you run anything with gksu where the background dims and a dialog pops up. Another type is when you try toinstall software through Synaptic and a dialog box requests for your password. I am having problems with the later one.
Whenever the authentication dialog box pops up, after typing my password and presses enter, or the Authenticate button, the password field disappears while leaving the authentication dialog on the screen. The Authenticate and Cancel buttons are still clickable, but they are not bringing any actions by clicking them. I would have to let the application to continue with elevated permissions by manually closing the dialog. There are very very rareoccasions where the dialog disappears after I click on authenticate, which I can say is 1 in every 100 times
View 9 Replies
View Related
Jan 26, 2011
Running Ubuntu 10.10 and I'm getting annoyed by the password authentication each time I want to do something. I find this more annoying than Windows 7 and UAC
View 9 Replies
View Related
Apr 15, 2011
When I am upgrading, installing something or doing something that requires me to be Authenticated by using my password I just type it in and hit enter. However, each time I just click return after typing in the password it does not work. The window accepts my password but thats it and the window just sits there until it times out a few mins later. For this to work properly I have to type the password and then use the mouse to click the Authentication button. Why is this? Is there a way to solve this so I can just type in my password and click return like I do with everything else?
View 2 Replies
View Related
May 9, 2011
Frustrated with ubuntu v11, i re-installed v10. At first my old authetication password worked. Then it stopped working and i can't make any changes because i don't know what word the blasted system wants. Am i locked out forever? Should i re-re-install v10 and everything else? or how i can change my authentication password without knowing what the computer wants?
View 9 Replies
View Related
Feb 19, 2010
I have installed Ubuntu 8.04 inside windows and every time I go to the terminal and type "su" it asks me for a password. Well the password I set before the install doesn't work, it gives me an authentication failure. I thought that since it was inside windows it didn't set me as a root user. I go to user groups and I see my name there and then "root" above it, but its grayed out. Is there a default root password I can enter?
View 5 Replies
View Related
Nov 25, 2010
It seems that every time I try to dowwnload any apps kept on asking me for authetication and a password and later denied me the download. Where is the password it kept asking and should get the authecation automatic (Why to)? I'm new at this so pardon for my ignorance. Looking forward to use your os.
View 6 Replies
View Related
Feb 20, 2011
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]....
View 8 Replies
View Related
Feb 25, 2011
how do i stop autoboot of ubuntu? and when i try do " su " in the terminal and i enter my password it says failed authentication
but i logged out and logged in again with the password and it worked? is there a default password
View 4 Replies
View Related
Aug 8, 2011
I was hoping that someone could point me in the right direction. I just did an install and the os is up and running. During install, I set a root password and also set up a regular user account. The only option at login is the regular user acct. Needless to say, the os asks me to provide the root pw for just about everything I need to do.get an authentication failure. (I assume that this is the same as permission). I can find plenty of info on how to restrict access but nothing relevant to my problem. Just to rule out an install problem, I installed the os a 2nd time. I am very sure I have my passwords correct. One other thing to note is that on the 1st install, I used a different pw for root and regular user. On the 2nd, just to keep is as simple as possibl I used the same pw for root and reg user account. I am new to debian, but the distro that I have been using (slackware)
View 5 Replies
View Related
Jul 19, 2011
We have small requirement, we need to connect to ssh server through ey+Passphrase+password. Is it possible to configure this type of authentication in any version of openssh/fedora.
View 3 Replies
View Related
May 2, 2010
have been experiencing an error (the past few weeks) whenever I try to install a software package using the default installer. Each time I enter the root password it is not accepted and I am unable to get past it and the installation fails.This is the error message that is issued:[PK_TMP_DIR|dir:///var/tmp/TmpDir.mf2zCf] Repository already exists.I am able to enter the root password in a terminal session without any problem along with using the Install Software option in the main menu.
View 6 Replies
View Related
Jun 13, 2010
I've been having enormous problems with pam authentication. I use opensuse 11.1, postfix 2.5.5, dovecot 1.1.7. , ssl, dovecot-sasl. Everything works fine within local network, but I can't log in from outside (using outlook express 6). Output of dovecot -n:
protocols: imap imaps pop3 pop3s
listen(default): *:143
listen(imap): *:143
listen(pop3): *:110
[code].....
View 4 Replies
View Related
Dec 5, 2010
Server A: Generated RSA Key
Server B: Added the RSA Key to authorized_keys list
SFTP from A to B.
Still prompts for password.
I will be sftp-ing both from Server B to Server A and 'A to B'. Sever B to Server A works fine. No prompting for password. But from A-B it this is what is happening sftp -v log...
debug1: Offering public key: ~InfAdmin-.ssh-id_rsa
debug1: Authentications that can continue: publickey,gssapi-with-mic,password
debug1: Trying private key: ~InfAdmin-.ssh-id_dsa
debug1: Next authentication method: password
InfAdminATServerB's password:
Why is this trying id_dsa private key? From Server B to Server A when I do the same, it does not say 'Trying Private Key -id_dsa' This is what it says
debug1: Server accepts key: pkalg ssh-rsa blen 277
debug1: read PEM private key done: type RSA
debug1: Authentication succeeded (publickey).
How do I enforce that Server A does the same? Why is it trying the dsa private key when I have used RSA.
View 4 Replies
View Related
Jan 11, 2011
I have a strange behaviour on a Slackware 13.1 box:
Code:
user@host$ su
su: Authentication failure
[code]...
View 5 Replies
View Related