1
vote
0answers
38 views

How was I able to login without a password and without authorized_keys?

I started with a box at Google Compute Engine (Google's cloud service) with an account named xyz and an ephemeral IP. Let's pretend the ephemeral IP was 2.3.4.5. Before I started the process below, ...
0
votes
0answers
65 views

No prompt for password when piping through ssh

i'm trying to use partclone to clone a partition and send the .img on my ssh server.That's what i do : partclone.ext2 -c -d -s /dev/sda1 | ssh -p xxxxx username@serveraddress "cat > backup.img" when ...
1
vote
2answers
57 views

SSH password-less login inconsistency

I'm trying to set-up a password-less login for SSH to script some automated tests on my system. I need to set this up for two different machines, so from machine "A" I need to use password-less login ...
1
vote
0answers
35 views

Making ssh “PasswordAuthentication no” timeout

If PasswordAuthentication is off, an attempt to ssh without a valid certificate, is met with the error: Permission denied (publickey). Is there a way to make it just drop the request and timeout ...
2
votes
1answer
132 views

AIX 7.1 su root password bug?

In our AIX 7.1 machine there is a weird bug we've ran into.. If you are logged into the AIX box via SSH as a regular user and you try to su - you get prompted for the password, lets say our password ...
3
votes
2answers
179 views

Is setting a mail user's shell to /usr/bin/passwd in the /etc/passwd file a safe way to allow them to change their own password by simply ssh'ing?

I have a machine which is used mostly as a mail server: $ uname -a Linux myhost.com 2.6.32-279.19.1.el6.x86_64 #1 SMP Wed Dec 19 07:05:20 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux and I would ...
1
vote
1answer
453 views

Ubuntu 10.04 using ssh without entering my password

I know questions like this have been asked before, and I have read them all (that I found). The problem I have is that we have an embedded linux device that we can log into for debug purposes by ...
0
votes
0answers
60 views

I can't see “Authorization with password” SSH method with Ganymed, but I can manually ssh into target?

I am trying to make a ssh connection via Ganymed. Alas, "password" seems not to be an authorized method. In the same time I can ssh via username/password in the target machine. password autentication ...
0
votes
3answers
3k views

ssh key auth still asks for password (no passphrase set)

Trying to set up SSH to my CentOS VPS with key auth and no pass phrase so that I can auto-connect from my Debian 7 local server. I've gone as far as copying and pasting from two different guides on ...
0
votes
3answers
1k views

Rsync root files between systems without specifying password

This seems very tricky to me. I've set up my two systems so that I can rsync files between them as me, without specifying password. Now the the problem is to rsync files that belong to root. On both ...
3
votes
1answer
497 views

Use bash script to copy select txt files from remote server to my local machine

I would like this script to NOT prompt me for a password when I run it. I would like to put a password inside the script that will pass by itself. This is not a root password: It is for an account set ...
0
votes
1answer
90 views

SSH menu script auto login to device

I have created a menu for users to select from to ssh into whatever device they selected. This is used my the Engineers that manage these devices. Right now it when they select the device they want ...
0
votes
0answers
105 views

SSH prompting for password when there isn't one

I have a small embedded device that runs Linux and an SSH server. This box is set up with one user (root) and no password whatsoever. Currently, there is one Windows XP-based laptop that is used to ...
0
votes
2answers
77 views

Disabling SSH passwords for all users except one

It's easy enough to disable password authentication for SSH as a whole, but is there a way of allowing one user on the system the ability of logging in with a password? The reason for this is we have ...
5
votes
1answer
339 views

Two password (factor) authentication to root user / sudo

With regards to running Linux remotely (SSH) I'd like to employ two levels of authentication for accessing the system with root privileges. I have the root account disabled / locked out so direct ...
2
votes
3answers
97 views

save password once and use it from different terminal

I have script that runs remote login using SSH, copies a file from that remote machine using SCP without asking for a password, however, the change only works for the terminal where I am running the ...
1
vote
1answer
186 views

Passwordless connection to GitHub without EVER needing to enter a password

I cannot figure out how to connect to GitHub from my server (e.g., git pull) without ever needing to enter my password. I have followed all the passwordless setup steps as mentioned in this superuser ...
1
vote
5answers
2k views

Scripting an 'empty' password in /etc/shadow

I've written a script to add CVS and SVN users on a Linux server (Slackware 14.0). This script creates the user if necessary, and either copies the user's SSH key from an existing shell account or ...
2
votes
2answers
464 views

what's the difference between /etc/init.d/sshd start and /usr/sbin/sshd?

I'm having issues with passwordless ssh. I've checked, double checked and checked again that I have everything set up correctly. Both machines are RHEL6 and when the destination machine first boots ...
0
votes
1answer
233 views

Log in DD-WRT router via SSH works, web front end does not

I can use SSH to log in as the root user, but the same credentials are not logging me into the front end. What is going on here?
4
votes
2answers
316 views

How do I “unlock” sudo for 15 mins after login?

It doesn't make sense to me that after authorising myself by logging in, I then have to separately authorise myself to sudo, potentially typing the password twice. This has all come to a head recently ...
2
votes
6answers
2k views

Allow Putty store passwords

Is there any way to allow Putty to store passwords? Please note that safety is not an issue (private LAN), so the easiest solution would be to save the password in the Putty session (instead of using ...
1
vote
2answers
403 views

How to avoid having to type password every time rsync is run in a Bash script?

In a bash script, I have several rsync statements. Every rsync will prompt for typing password, and defeats very much the automation of doing the job using a script. How to improve this? The ...
0
votes
0answers
356 views

SSH password not working from iPhone to laptop

I recently jailbroke my iPhone 4, running iOS 5.1, and am trying to recover some files that were deleted. I am new to SSH and am currently using Cygwin. The issue I'm having is that when I try to to ...
0
votes
1answer
992 views

ssh Password-less login to multiple machines when you already have one

I'm a little bit confused about setting up a password-less login for multiple machines to begin with, but I think I could do it from scratch. The problem is I already have it set up for one machine ...
0
votes
3answers
534 views

Why is passwordless ssh not a terrible idea? [closed]

So, I generated a passwordless key pair and uploaded it to all of my remote accounts. And now I can log in to all of my remote accounts with extreme ease and comfort. And so can a malicious user which ...
1
vote
2answers
10k views

How do I configure SSH on OS X?

I'm trying to SSH from one Mac running OS X 10.6 to another. Seems to work fine via a password, but I can't get it to use a RSA key instead. Where is the ssh configuration file on OS X and what is the ...
1
vote
1answer
336 views

Disabling only password ssh access for root

I know it's possible to disallow root logins via ssh, and that it is a Good Idea™ to disallow root to ever login via ssh (preferring instead to use sudo or similar). Is it possible to allow ...
2
votes
1answer
89 views

Does Key based authentication replace or rather supplement password authentication?

Is SSH key based authentication something that happens to replace password authentication or does it supplement password authentication?
8
votes
4answers
23k views

How to SSH to localhost without password?

EDIT: Putting exactly what was done. I need to SSH to localhost without a password, the usual way of doing it (with public keys) do not work. user@PC:~$ rm -rf .ssh/* user@PC:~$ ssh-keygen -t rsa ...
0
votes
1answer
942 views

PuTTY password prompt changed, can't login

Hey. I've been using PuTTY to SSH into my Mac a bunch. When I did that I got the screen: login as: username, Using keyboard-interactive authentication, Password: Which worked fine. But after I tried ...
2
votes
1answer
2k views

How to use ssh-agent (and graphic passphrase dialog) in Kubuntu 10.10?

I have recently switched from Ubuntu to kubuntu, both version 10.10. Unfortunately in KDE the ssh passphrase dialog doesn't work out of the box. Everytime my ssh private key is used I need to enter my ...
1
vote
4answers
763 views

Cross platform centralized password manager [duplicate]

Possible Duplicates: Password manager for multiple computers? Cross-platform centralized desktop password manager Do any of you know a password manager, that would maybe look a bit like ...
1
vote
1answer
2k views

how can I check my rsa passphrase?

I think I've forgotten my RSA passphrase again. Is there a way to have my local command line prompt me for it so I can check if I at least what I remember it as is correct, so I don't needlessly ...
1
vote
3answers
920 views

ssh-keygen on snow leopard glitches in passwordless mode

I'm trying to use ssh-keygen to generate a key for a remote Linux server for passwordless entry. Unfortunately, it doesn't want to work: I keep having to enter a password. I'm wondering if there's ...
1
vote
1answer
330 views

Firefox Master Password (ssh-agent)

I use the master password feature of Firefox, and I also use SSH keys to login to a bunch of UNIX machines. For SSH, there is a very useful application called ssh-agent that runs in the background ...
0
votes
1answer
645 views

SSH login without password [duplicate]

Possible Duplicate: How do I set up SSH so I don’t have to type my password? You don't want to type your password when you ssh into a machine. What can you use to accomplish this? Are ...