The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
228 views

SSH authorized_keys and newline

I am trying to configure SSH with public-key authentication on Debian. I can't seem to get it to work because auth.log keeps saying that can't read key type:...(key line)\n. It keeps complaining ...
2
votes
0answers
81 views

Strange behavior on SSH public key login

I'm really stuck here. I've been trying to ssh into my ec2 server from local with a public key but it is not working. -> I get permission Denied (public key). The set up is as follows: Local: ...
1
vote
3answers
2k views

Why is SSH not honoring my authorized keys?

I have 2 laptops at home, both running Ubuntu 12.04 (Desktop), and both using the same NetGear wifi router. I used a technique called "MAC binding" on one of the machines so that the router always ...
0
votes
2answers
619 views

Limiting ssh to sftp only?

I use SSH keys to allow passwordless logons to my box. I want to limit them to SFTP only. I have the following in my authorized_keys file which appears to work: command="internal-sftp" ssh-rsa ... ...
1
vote
1answer
378 views

using sftp and having www file access at the same time

Im getting confused about permissions and sftp access in ubuntu. I have a user who has access to the www folder : <username>:www-data I have set the following in sshd_config: Subsystem ...
1
vote
5answers
3k 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 ...
-1
votes
1answer
125 views

automate SFTP process with different ssh version

I am totally new to this. Please bear with me if my question is totally nuts. I am trying to setup rsa keys between two servers. I tried the following steps. ssh-keygen -t rsa copied the id_rsa.pub ...
0
votes
1answer
477 views

Authorized keys only from external IP, but passwords allowed internally

I just set up my sshd_config to only accept authorized key instead of passwords to help secure my network. Is it possible to make this restriction only apply to external IPs and allow me to still use ...
1
vote
1answer
128 views

SSH ForcedCommand causes connection to close

I'm SSHing a server (I'm on cygwin using openSSH), and I went into authorized_keys and modified the file as follows: ssh-rsa [key] to command="echo Working" ssh-rsa [key] Now when I connect to the ...
2
votes
3answers
261 views

SSH without password doesn't work with user postgres

I've tried manually adding the pub key to authorized_keys and authorized_keys2. I've also double checked the permissions on .ssh (700) and authorized_keys (644). I can login without password on the ...
3
votes
3answers
3k views

ssh-copy-id and duplicates in authorized_keys

I want to type password only once when connecting to SSH so I use ssh-copy-id and install my pubkey into authorized keys. But I don't keep track which servers already have my key and which does not, ...