The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
2answers
495 views

Strange ssh key issue

Scenario 1. I am doing this from /home/deploy directory I am trying to set up ssh with github for capistrano deployment. this has been an absolute nightmare. when I do ssh git@github.com as the ...
6
votes
1answer
2k 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
800 views

Any tricks for making sshfs authenticate only on write?

There is seemingly a trick for creating read-only sshfs logins with the read only attribute is enforced by the remote's ~/.ssh/authorized_keys file. You first create a program ~/.ssh/ro-sftp-server ...
1
vote
1answer
264 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
500 views

Can one config LDAP to accept auth from ssh-agent instead of from Kerberos?

[This question is not about getting your LDAP password to authenticate you for SSH logins. We have that working just fine, thank you :-) ] Let's suppose you're on a Linux network (Ubuntu 11.10, slapd ...
0
votes
1answer
479 views

Jenkins: use ssh-agent and git plugins together

So, I have the following situation: a server with dedicated users for each project (e.g. foo) and a jenkins server which runs as a jenkins user. I've generated an SSH key pair for my foo user and ...
0
votes
1answer
51 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
185 views

Weird DNS bug - external server resolves to internal IP

I have a server that is hosted by my university. I have root access, but no control over network setup, firewall, etc. This server's DNS resolves to an internal IP here on campus (10.x.x.x), and an ...
4
votes
0answers
743 views

Can socat be used to forward an ssh-agent socket into a chroot?

I'm building custom Debian environments on a remote server, which I connect to over SSH. This involves building a debootstrap environment, then chrooting into it to run a custom installer. As part of ...
1
vote
0answers
208 views

Enabling SSH for deploy of a bitbucket git repo

I'm trying to deploy my git repo to my server. To make this work I first needed to setup ssh on my locale computer and on my server. for bitbucket I followed ...
1
vote
0answers
47 views

sshpass like ssh-agent or vice versa

I like to hold ssh logins for the runtime of a script. For public key authentication, ssh-agent can be used, allowing me to enter the key passphrase once when the script is started. However, that ...
1
vote
0answers
1k views

Is it possible to chain ssh-agent forwarding through multiple hops?

Suppose I have 4 machines, local, dmz, remote1, and remote2. I want to ssh from local to dmz then into remote1 and then scp a file from remote1 to remote2. Can I use ssh-agent forwarding to allow me ...
1
vote
0answers
388 views

ssh through a bastion machine works on someone else's desktop but not my own

I have to ssh into a bastion (jump) server in order to get to the final server. On the jump server, my .ssh/config says: Host * ForwardAgent yes My co-worker uses PuTTy and Pageant. When I use a ...
0
votes
0answers
9 views

Prevent duplicates when launching ssh-agent in upstart script

As part of an Upstart script, I need to launch ssh-agent to load a GitHub deployment key, so in the script I have: eval "$(ssh-agent -s)" ssh-add $HOME/.ssh/id_rsa The problem is that when the ...
0
votes
0answers
41 views

ssh ForwardAgent, “Could not open a connection to your authentication agent.”

I have ForwardAgent yes for a few hosts. One of them started failing recently and I can't find the reason. when I ssh to all hosts and execute ssh-add -l i can see one key just fine. If i ssh to ...
0
votes
0answers
49 views

Install keychain on Amazon Linux AMI?

I have a github account that I would like to push to on a regular basis from an Amazon ec2 instance. In order to connect to the github account I have an SSH key that's passphrase protected, so in ...
0
votes
0answers
39 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
44 views

ssh-add is required before each git push

Before I can git push / pull or capistrano deploy (using agent_forward => true) I have to run ssh-add command. If I try without this I get a publickey failure. Does anyone know why ssh-add is not ...