ssh-keys

Can I use SSH keys in something other than PuTTy (on Mac)?

Bluehost only recommends PuTTy. However, is it possible to use ssh keys without any extra, visible programs in Mac? I would like to have a connection to my server to be a breeze, so that I can control my server in Terminal. ...

Beginner Problem in Setting SSH keys

I get this error WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED The rest of the error message is similar to here. I have SSH keys in my server. I have my private key in my desktop. I am not sure where I should put it. Add correct host key in ~/Users/Sam/.ssh/known_hosts to get rid of this message. Should I add the public key of m...

ssh-keygen with different user for subversion

I can't figure out how to create public / private keys for other users on my server. On my server, I type the following through the shell (uiserver):john:> ssh-keygen -t dsa After that, I enter the filenames and password, which successfully results in a private key and public key pair for "john". Now when I use this key to ssh into ...

Is it possible to use the same ssh private/public key pair on 2 machines to access a git repository?

I've recently setup an inhouse git repository server and have it up and running with gitosis installed as the management tool. Read only access is available via the git:// protocol and write access is available via gitosis using ssh public keys. I have a developer that has been granted access to his projects with a public key that was g...

SSH Key Authentication [Hesitance?]

I guess I'm being a little hesitant but I deal with vcs's occasionally and always get asked for some sort of prompt, of course I'm attempting to access an external machine which I'm sshing into. Basically my question is, say I don't have root access on this machine, would it still be possible to set this up? I've skimmed through readin...

SSH setup for the multiple server admin

Hi all, I´m looking for a good ssh password/key setup for a system administration of multiple servers. The ideal one will be one that can be at the same time comfortable and secure, but after thinking a lot around the problem, no solution seems acceptable. Basically I arrive to these 2 setups: One where every server has a strong (and...

Gitosis and ssh keys - does the email address have anything to do with the git email address?

I'm trying to set up gitosis on a server. I was just wondering one thing, my ssh key has my gmail address at the end, because I was originally using it for github. For this new project on the server I'm setting up, I want to use my email address for this organization when committing to git. Is it OK for me to use the same ssh key when se...

SSH autologin __without__ using keys :(

I know it's insecure. My school has a system that you can ssh into, but it runs a strange operating system (might be openVMS based, that's what the error messages indicate). They don't use keys, just a user/password, and then an internal application is started that actually authenticates the user. I got the u/p password from their webs...

Configuring Git over SSH

I have cloned my git repository over ssh. So, each time I communicate with the origin master by pushing or pulling, I have to reenter my passphrase. How can I configure git so that I do not need to enter my passphrase multiple times? Update: I should have said "password" instead of "passphrase". ...

Mac Text Editor that Support SSH Keys

I have a workmate who only uses a Mac. Being unfamiliar with Mac text editors, I'm wondering if anyone can recommend one that will allow SFTP access using ssh keys (not just passwords). ...

SSH on Linux: Disabling host key checking for hosts on local subnet (known_hosts)

I work on a network where the systems at an ip address will change frequently. They are moved on and off the workbench and DHCP determines the IP they get. It doesn't seem straightforward how to disable host key caching/checking so that I don't have to edit ~/.ssh/known_hosts every time I need to connect to a system. I don't care ab...

Is it possible to have Perl run shell script aliases?

Is it possible to have a Perl script run shell aliases? I am running into a situation where we've got a Perl module I don't have access to modify and one of the things it does is logs into multiple servers via SSH to run some commands remotely. Sadly some of the systems (which I also don't have access to modify) have a buggy SSH server t...

SSH Public key denied on "git clone" command.

I am trying to clone a git repo that I forked in my GitHub Repository.It's a rails app. I want to clone it on my local git so that I can push it onto heroku. I generated a set of rsa keys and copied it onto my GitHUb public keys. When I try to git clone "public url" , It says public key denied. I tried an ssh [email protected] to verify my ...

Disabling unidentified host confirmation when connecting to Amazon EC2 instances using SSH

I am writing a script using boto and Python to automatically launch an Amazon EC2 instance and interact with it using SSH. Everything works fine except that every time I establish the connection, SSH prompts me to confirm the authenticity of the host like this: The authenticity of host 'ec2-174-129-121-25.compute-1.amazonaws.com (174.12...

SSH cannot authenticate to [email protected]

Recently, I sign up for a free plan on Github.com. I follow their instructions to generate a ssh key to add to my account. However, when I try ssh -v [email protected], I get this error: debug1: Server accepts key: pkalg ssh-rsa blen 277 Agent admitted failure to sign using the key. debug1: Trying private key: /home/phuongnd08/.ssh/identit...

Emacs users are unable to commit via bazaar to launchpad

All of the emacs users on our development server are unable to do a bazaar commit to our development branch on launchpad. They receive this message: bzr: ERROR: Cannot lock /.. /.bzr/checkout/dirstate: [Errno 13] Permission denied: u'/../.bzr/checkout/dirstate' I've double-checked all of the permissions and everyone has their keys se...

ssh-agent and crontab -- is there a good way to get these to meet?

I wrote a simple script which mails out svn activity logs nightly to our developers. Until now, I've run it on the same machine as the svn repository, so I didn't have to worry about authentication, I could just use svn's file:/// address style. Now I'm running the script on a home computer, accessing a remote repository, so I had to c...

Automating terminal login with DSA key

How would I go about doing this on the terminal? sftp then asks me for a password. how do I include my DSA key so that I do not have to use the password? ...

How to convert SSH keypairs generated using PuttyGen(Windows) into key-pairs used by ssh-agent and KeyChain(Linux)

I've generated key pairs using PuttyGen and been logging in using Pageant , so that I have to enter my passphrase only once, when my system boots. How do I emulate this in Linux ? I've heard of keychain but I hear that it uses a different key pair format - I don't want to change my windows keys , and it would be nice if could seamlesl...

setting up git ssh access error: gitosis need more than 1 value to unpack

When I go to set up git to run with ssh, I get the following error: file "usr/lib/python2.5/site-packages/gitosis-0.2-py2.5.egg/gitosis/init.py", line 35, in ssh_extract_user _, user = pubkey.rsplit(None, 1) ValueError: need more than 1 value to unpack the command I typed: sudo -H -u git gitosis-init < /home/sean/.ssh/pubkey.pub ...