The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
3answers
120 views

ssh-keygen create ssh key for linux user

Being a Sudo user, is it possible to create a SSH key for an user in the same Linux server? This Sudo user doesn't have a Switch user privilege. I have a server where I Login as sudo user say ...
1
vote
2answers
206 views

SSH: Unable to login with key after disabling password authentication

I have an ubuntu server is on Amazon EC2. Earlier I used to login with the original pem key file generated at instance launch time. ssh -i /path/to/key.pem ubuntu@instance-dns-name.com I tried to ...
1
vote
2answers
152 views

prevent files modification from users: is this method safe?

I was wondering today if there was a way to enforce a non root user to have a specific authorized_keys file (among other sensible files). I came up with this solution. Disable StrictModes in ...
0
votes
2answers
59 views

Are the keys created and added when launching an EC2 instance added to ~/.ssh/authorized_keys for ec2-user?

Are the keypairs created and added when launching an EC2 instance added to ~/.ssh/authorized_keys for the ec2-user ? or is there another mechanism used? If so, would the key have a name like 'master'? ...
0
votes
2answers
143 views

password-less ssh works to connect to one user on a remote machine but not another

The remote server is running CentOS 5.5. I have created an rsa key from my client server, and copied it into /home/hadoop/.ssh/authorized_keys. This worked fine - I can ssh to hadoop@remoteserver ...
-1
votes
2answers
89 views

Putting My RSA Public Key on RSA Key-Secured Server

Hello and thanks for reading, Basically, I'm taking over for someone on some system admin duties, learning as I go, but one problem I've run into is not having my public RSA key put onto a particular ...
4
votes
1answer
1k views

ForwardAgent in Jenkins

I'm trying to enable ForwardAgent in the "Publish over SSH" Jenkins Plugin. This would allow jenkins to execute deployments, rsyncs and svn+ssh checkouts on remote servers. But there's no option for ...
2
votes
1answer
60 views

Is it possible to kill SSH connections that aren't running a command (e.g. with -N)

If a client does not execute a command (e.g. with -N) within some timeframe (1-2 seconds) after establishing the SSH connection, I'd like to terminate it from the server. Unfortunately, ForceCommand ...
1
vote
1answer
25 views

Instance created from shared snapshot gives Server refused our key error

I have created an instance from a shared snapshot from other aws account,following steps were done by me, 1.Share snapshot from other account. 2.copy it to my account. 3.create a volume from it ...
1
vote
1answer
91 views

Fabric used to work with ssh-keys, but not anymore

I have my ssh key set up correctly and I can ssh into the remote machine without password. However, my fabric deploy script which could authenticate automatically until a couple of hours ago, started ...
1
vote
1answer
908 views

How do I properly generate a keystore for ssl?

I'm trying to get an ssl certificate from godaddy for use with jetty. These are my steps: keytool -keystore keystore -alias jetty -genkey -keyalg RSA -keysize 2048 What is your first and last name?: ...
1
vote
1answer
118 views

Can access sshd-server with one user, but not with an second

I am using public-private-keys to access my server. With the user "peter" I can access the server normal, but with the user "git" I can not access the server. Its always asking me for a password. If I ...
1
vote
1answer
296 views

How to rsync to a server using ssh keys

I'm running on a Mac, and I want to set up a crontab to rsync from my VPS on a weekly basis to grab some backup archives. I'm using ssh keys (no passwords allowed on the VPS), and normally I can ssh ...
1
vote
1answer
171 views

How to get an Ubuntu root account to forward ssh keys as the forwarding machine

UPDATE: the whole thing described below works fine for non-root accounts on the remote machine. That is, this works: anderson@client -> nonroot@remote -> anderson's-ssh-key@github.com This ...
1
vote
1answer
452 views

Problems accessing EC2 instance with SSH key pair

Just set up a new EC2 instance, downloaded the pem file and currently cannot get into the box. I'm using the command... $ ssh -i .ssh/key.pem ubuntu@ec2-176-34-183-***.eu-west-1.compute.amazonaws.com ...
1
vote
1answer
281 views

SSH dns issue giving break-in error

Address ..*.* maps to ec2---*-*.compute-1.amazonaws.com, but this does not map back to the address - POSSIBLE BREAK-IN ATTEMPT! I keep getting this when I try to log-in to my remote server. I have ...
1
vote
1answer
271 views

How do I arrange for an ssh key with a passphrase to be loaded and available in ssh-agent to other processes on Windows startup?

I'm setting up automated deployment of applications in a Windows environment from continuous integration (TeamCity build-agents), and using cygwin + openssh to perform the remote-execution part of ...
0
votes
1answer
82 views

Unable to ssh to GCE Permission denied (publickey)

I created a VM via bitnami in Google Compute Engine. Previously I was able to ssh via the bitnami web interface. I tried to ssh via terminal on my Mac but kept getting the Permission denied ...
0
votes
1answer
273 views

sshfs mounts from command line but not through fstab

I'm able to mount an sshfs network share from the command line (using Ubuntu 14.04), like this: sshfs server-name:/usr/local/things /home/myname/stuff but I can't make it persistent using fstab. ...
0
votes
1answer
57 views

Ssh host key verification

I have a Server behind a Port-forwarding Firewall. Server <---> Firewall <------> NAT Port 222 | -----------> VPN I can ssh per key into it from ...
0
votes
1answer
43 views

seamless ssh with condition

I am looking for a way of seamless ssh in a way that when user does ssh through shell, it will be disallowed (or normal rules apply) but if a process (non-interactive) tries to ssh with the same user ...
0
votes
1answer
667 views

Can not log in to Amazon EC2 instance (Beginner)

I am having difficulty logging onto my Amazon ec2 instance. I set it up, downloaded the key. At first it complained because my permissions were setup correctly. Then I executed: chmod 400 ...
-1
votes
1answer
32 views

How to auto login a .ssh server from a .ssh2 server?

I have a server A which ssh-keygen produce a .ssh2 direcotry and id_dsa_2048_a* files and a server B which ssh-keygen produce a .ssh directory and id_rsa* files and a server C like B How can auto ...
-4
votes
1answer
28 views

Disable ssh auth by keys

Usually all disable ssh login with password only. I'm asking about reverse situation. Does sshd_config allow to disable authentication with keys only?
3
votes
0answers
626 views

SSH_ORIGINAL_COMMAND variable not getting set

I am working with two servers, both of which run FreeBSD 8.4-RELEASE-p1 and OpenSSH_6.1p1. Both servers' ssh_config files, located in /etc/ssh, are identical. Both servers are configured to allow ...
2
votes
0answers
54 views

Specifying multiple SSH signed certificates for one Identity file

I am looking to implement signed certificates for SSH authentication. I have followed the steps here and am now trying to figure out how I am going to implement it on my systems. As an example, we ...
2
votes
0answers
246 views

ssh to ILO on a DL380 gives key_verify failed for server_host_key

When I try to do connect to the ILO 4 of a DL380 I get the following error: ssh -vvv ilo@me2_ilo OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008 debug1: Reading configuration data ...
2
votes
0answers
131 views

Unable to force passphraseless ssh authentication while port forwarding

I'm completely at a loss as to what is preventing my local machine from authenticating the connection that is being forwarded from the remote server. I've read a ton of the posts on here regarding ...
1
vote
0answers
99 views

AWS connection error: Permission denied (publickey)

Sorry if this sounds redundant to you but trust me its not. I have tried almost majority of the links related to this problem but nothing is working for me so far. I even tried this article two. Below ...
1
vote
0answers
30 views

Centralize way to prevent interactive logins

I have an Ubuntu server that is used for two primary purposes for my students: To hold on to files that students need to temporarily upload for my assessment (ie: I give them an input image, and ...
1
vote
0answers
217 views

Linux TACACS+ auth for SSH but allow users to use public key auth

we have running tacacs environment for centralised login to our routers, firewalls etc and even most of our linux boxes to ssh what we would like to do is allow users to authenticate to SSH via ...
1
vote
0answers
567 views

How to configure Centos 5.3 using OpenLDAP to store and serve SSH public keys?

I want to be able to manage all my users logins via OpenLDAP. I am using Centos 5.3, OpenSSH 4.3p2-42 and OpenLDAP 2.3.43. I have installed GOsa2. Is there a GOsa plugin to manage the SSH keys in ...
0
votes
0answers
26 views

Enable root password on remote server

I'm playing around with ssh-with-rsa-key authorization instead of password authorization and because I'm not really clever I've locked password authorization for root(passwd -l root) on remote server. ...
0
votes
0answers
23 views

PAM: authentication error

I am trying to connect from Windows 7 Jenkins slave to a MacMini machine in one of the final build process of Jenkins build. This has been working for some time now till last nigh. There has been no ...
0
votes
0answers
133 views

SSH not working when called by automated script

SUMMARY: My script which includes ssh runs fine from the command line but the ssh part does not work when the script is called by an an automated daemon (apcupsd). DETAIL: I've got an ESXi server and ...
0
votes
0answers
60 views

Encrypt MySQL column with ssh-key forwarded by ssh-agent

I would like to keep sensitive data such as user's e-mail address in MySQL database in encrypted form. Is it possible to encrypt/decrypt mail column in MySQL using ssh-key forwarded by ssh-agent on ...
0
votes
0answers
240 views

Capistrano, EC2, Permission Denied despite all user info being correct

So I'm using WP-Stack and trying to deploy from my local machine to an EC2 instance. Ive follow capistrano's SSH literature and I can for instance get the server info by just running SSH and the ...
0
votes
0answers
69 views

SSH between macs in a local environment, full control on each?

I'm attempting to use my Mac Mini as my "central server" in my local environment and then I develop on it, it runs nginx, php-fpm, etc. Everything is working fine. But I wish to do capistrano ...
0
votes
0answers
243 views

Passwordless SSH key copied from one server to another now asks for passphrase

I'm using chef to build a server. I generated a passwordless SSH keypair on one server and added the public & private keys to chef. After testing, it worked. When I provision another server and ...