0
votes
1answer
261 views

SSH is not working .. Password promt is not coming

I am not able to SSH into my ubuntu server since yesterday. I am not using any keyless or public key method.. Its simple SSH with username and password everytime.. However I can do a VNC session ...
1
vote
2answers
585 views

scp using a password on the command line

I am trying to write a script that will deploy a build created on my desktop machine (windows/cygwin) to a machine in my test environment (linux). I would like to use scp to copy the build to the ...
1
vote
4answers
99 views

Is it risky to disable SSH passwords? [closed]

This is a very basic question, do bear with me.. I'm setting up a VPS and it seems as though disabling SSH users from logging in with a password is recommended for security. If I authorize the SSH ...
1
vote
1answer
67 views

SFTP password wrong from remote, but not from local

From my server, connecting to it via eth0 (not localhost), I can connect via SFTP: Apr 9 10:02:40 domain sshd[11526]: Accepted password for test from 1.x.x.x port 45335 ssh2 From a remote ...
1
vote
0answers
71 views

Passwordless public key is not working

this is my fist help ask here despite being a daily reader in order to learn. I am working on a Unix environment (both Solaris and Aix servers) and my public key suddenly stopped working after ...
5
votes
1answer
176 views

Combination of SSH key auth, and two-factor authentication

I was wondering if it is possible to accomplish the following, all at the same time: Disable root logins Enable SSH login for personal user, only via SSH keys Enable SSH login for unprivileged user, ...
0
votes
2answers
39 views

No password for account when using SSH on server?

Our Server has disabled password-based ssh login and only works with publickey. When I add new users with adduser, it prompts for a password however and I cannot leave it empty. When I generate a ...
-2
votes
1answer
83 views

Rsync and ssh script

I really dont need ssh keys. The server has good security implemented. I need the script to input the password without user usage/interaction. How can I make this? Its CentOS release 6.5 (Final) ...
0
votes
1answer
80 views

ssh accepts any password [duplicate]

I'm recovering a server from getting hacked and there is one thing I can't fix: When I ssh (or scp) to the server, no matter what password I give, it lets me log in. I don't know much about the ssh ...
0
votes
3answers
97 views

SSH login with Key not working

I followed a guide for password-less login: # Generate Key ssh-keygen #Append Key cat ~/.ssh/id_rsa.pub | ssh user@remotehost 'cat >> ~/.ssh/authorized_keys' #login ssh user@remotehost.com ...
2
votes
2answers
1k views

Configure Ubuntu to allow ssh login via pulic/private key and sudo without password

I'm setting up a fresh Ubuntu 13.04 server. I created some users and copied their public keys for ssh authentication to their home folders. Login via password will be disabled. Everything works fine ...
1
vote
2answers
104 views

Why to use password protected SSH key files for remote access? [duplicate]

I was thinking of using key files for remote SSH access to my server instead of entering the account's password manually at login. On the Internet I found several tutorials on how to do that for ...
12
votes
10answers
5k views

Best way to go about changing a root password on 3000+ Solaris, AIX, and Linux servers?

Long story short: Big old corporation, lots of UNIX/Linux servers. I inherited responsibility for a bunch of scripts that that left a few years ago. One of them was a script that would be run every ...
1
vote
3answers
132 views

Security advices - ssh root access login

I'd like to have some advices on my case: I have a server with a public ip address. I have a root user with password. I have turn off (in sshd) PermitRootlogin = No Questions/tips/advices: How can ...
1
vote
3answers
952 views

Forgot the password for an encrypted SSH key that's in my (gnome) SSH agent. How do I extract unencrypted version? [closed]

OK, I have an encrypted ssh private key that provides access to a server. My Ubuntu GNOME desktop has an integrated graphical ssh agent (seahorse v3.2.2). That ssh key is in this ssh agent and it's ...
2
votes
1answer
101 views

How to set up sshd so that it never asks for a password for a specific user?

I have a dedicated system account named "git" that is managed by gitlab/gitolite. Users connecting to this account always use SSH keys, "git" user doesn't have a password. If users connect without a ...
0
votes
1answer
187 views

Double ask for password and thus I can't use sshpass

The following command asks Password: twice. It would be acceptable but I can't use sshpass to automate it :-( $ svn checkout svn+ssh://svn@svn.logostudio.co.il/home/svn/repos/logostudio/trunk/logo/ ...
-2
votes
3answers
631 views

how to ssh debian as root without password?

I'm running debian 6.0.6, and I want to remotely login it as root without password. I tried the typical ssh-login-without-password configuration (.ssh/authorized_keys), but it didn't work. So I doubt ...
1
vote
1answer
347 views

How to properly configure OS X Server 10.7.4 for SSH (password)?

Is there a setting somewhere that overrides the user password for SSH? Whenever I try to login via password to my os x server I get an error message in secure.log -> Failed password for < ...
1
vote
1answer
381 views

How to disable login into AIX using password for any means

Is there any way to disable login to AIX using password? I know that for SSH login I can update sshd_config and set PasswordAuthentication to no. But what about other ways of login into AIX, like ...
2
votes
3answers
792 views

Need scp with www-data without the need for password

I have a DMZ with a web server running Ubuntu 11.04 and an application server running Ubuntu 11.10. I have set things up so that I can scp from the web server to the application server by running ...
2
votes
2answers
263 views

Resetting root password on Fedora Core 3 - serial cable access only

A little background: We have an old rackmount server running a customised version of Fedora, manufactured by a company called Navaho. The server is a TeamCAT, running some proprietary rubbish called ...
8
votes
4answers
1k views

Encrypt temporary password using public ssh key

I manage a virtual office and our staff uses both SSH keys and passwords for authentication. If one of our staff forgets his password, is there a way to encrypt a temporary password using his public ...
1
vote
1answer
167 views

Why is SSH insisting on letting me log in?

I'm trying to disable logging in by password on a remote Ubuntu server, so that it's only accessible by using the encrypted key file thingy (I'm not totally clear on the terminology). I followed ...
-1
votes
3answers
208 views

How to Set Multiple Passwords for “HIgh Profile” Accounts

I generally set up servers with "important" services listening on nonstandard ports (e.g. SSH != 22) and rename or completely remove root/admin users. I recently thought that it might be fun to create ...
1
vote
2answers
690 views

TigerVNC + SSH without a VNC Password?

I have a RHEL 6 system with TigerVNC installed. It is configured to only allow VNC connections through SSH. Thus, a user can only connect to VNC if they successfully establish an SSH connection to ...
1
vote
2answers
2k views

SSH on Debian: Password prompt hang

Alright so a friend is having an issue on his SSH login prompt where the username prompt responds instantly (right when you connect VIA ssh), but the password prompt (right after you enter the ...
0
votes
2answers
3k views

sshpass does not work. Is there an alternative?

I use a small programm = sshpass to use ssh in a script to execute commands on linux routers Is there a alternative to sshpass because sshpass works at the moment not correctly (Bugs) - ...
121
votes
4answers
4k views

Is my password compromised because I forgot to hit Enter after ssh username?

I've just tried logging into a Fedora (release 13 Goddard) server using SSH (PuTTY, Windows). For some reason the Enter after typing my username didn't go through and I typed in my password and hit ...
2
votes
1answer
241 views

Password change prompt for SFTP

In our Linux server we have implemented password aging policy. On expiration SSH gives prompt for changing password on successful authentication. However SFTP doesn't give the prompt to change ...
50
votes
3answers
39k views

how to disable SSH login with password for some users?

On Linux (Debian Squeeze) I would like to disable SSH login using password to some users (selected group or all users except root). But I do not want to disable login using certificate for them. ...
1
vote
1answer
108 views

SSH users with ssh keys can't login to Usermin

I'm setting up a fresh Ubuntu netty 11.04 instance on AWS and needed Usermin to allow my "Ubuntu" user account to login. The problem is that the "ubuntu" user uses ssh keys to log into the server. I ...
0
votes
2answers
106 views

ssh - keys and password

I've gotten keys (certificates) working correctly, but as it is, it's more of a "convenience" thing. (which I love). But as far as security, someone can still use a password to login. What's a good ...
1
vote
2answers
91 views

How can I tell what auth methods a server supports?

I'm trying to ssh to a box using a dsa key. I'm prompted for my pass-phrase, but then it defaults to using password authentication. Seems like it would do this if the first authentication failed, but ...
3
votes
2answers
587 views

Key authentication not working when using ssh or rsync as sudo

I have ssh RSA key authentication setup between a client and an ubuntu server (following this procedure): -the RSA key authentication for ssh and rsync work fine (no need for password). -the RSA key ...
0
votes
2answers
938 views

Rsync over ssh with password in command rather than using keys

The situation is our client wants to download the most recent backup from our server (and they don't want us setting it up for them via rdesktop etc.. (sigh)). The client is running windows, server is ...
62
votes
8answers
135k views

How to automate SSH login with password?

How to automate SSH login with password? I'm configuring my test VM, so heavy security is not considered. SSH chosen for acceptable security with minimal configuration. ex) echo password | ssh ...
3
votes
6answers
820 views

Any clever way to put a password in an SSH key?

My host uses passwords instead of id_rsa's to SSH in. But instead of typing the password everytime, is there a way to put the password in my .ssh/config ? For example: Host gravy_access Hostname ...
2
votes
2answers
285 views

Re-gaining root access to an EC2 EBS-boot image

I'm using an Alestic image which disables root SSH logins, but provides a user "ubuntu" with NOPASSWD sudo privileges. See here. In the course of trying to add a new user to the sudoers file I ...
3
votes
3answers
1k views

How to stop SSH from falling back to password?

A script regularly initiates an SSH connection from one server to another, using SSH keys. However, once, the keys were briefly overwritten. This caused the SSH client to fall back to asking for a ...
5
votes
3answers
770 views

long SSH password vs SSH Keys

Using amazon's EC2 Service, which is awesome in every regard. Only problem is, I have problems logging in with the SSH keys they automatically genarate. I have no idea what the problem is, but have ...
0
votes
2answers
863 views

Passwordless ssh from Windows to Linux to run scripts from command prompt

What am trying here is ..... I Have some scripts that needs to run in Windows Command (command.exe) and not from Cygwin. The scripts needs to access a specific Linux machine from Windows command ...
3
votes
4answers
900 views

How can I enable both password and public key authentication with OpenSSH

I would like for sshd to verify the users' public key and then prompt for their password, rather than just one or the other. Is this possible?
2
votes
3answers
717 views

Root password contains character that can't be entered

Don't know what happend really. I changed the root password to a long password containing weird characters, and triple checked that I could log in with it, and has been ever since. Until now. I think ...
3
votes
3answers
2k views

Two-Factor Authentication - SSH using Keys & Local Account Password

Is it possible and feasible to setup a linux box to first require a valid key file before prompting for the user's local account credentials? Our setup is that we have to open ssh on a machine to the ...
2
votes
3answers
1k views

How to set up two-factor authentication with OTP on FreeBSD?

I have a FreeBSD server that I like to be able to get to from anywhere. Normally I use SSH publickey to log in, or if I don't have my SSH private key available then I might use regular password over ...
1
vote
4answers
460 views

What's the benefit of using asymmetric keys over passwords?

Is there a benefit to using keys over regular passwords when it comes to logging into a remote server over SSH? (Besides not having to remember/input that password)
14
votes
4answers
10k views

ssh: “Agent admitted failure to sign using the key”

I'm trying to set up password-less login with ssh on Ubuntu Server, but I keep getting: Agent admitted failure to sign using the key and prompt for password. I have generated new rsa keys. Before ...
2
votes
1answer
91 views

SSH authentication working unless ran from script?

I have set up my server to allow key/pair authentication by following instructions similar to what is found in this post. As far as I can tell that is working correctly. If I do the following, for ...
2
votes
2answers
2k views

What is the longest password for SSH?

What is the longest (how much characters) for SSH password? I like strong and long password but dont know the character limit. Thanks.