OpenSSH is one of the most popular implementations of SSH used today and available by default in many Linux and Unix-like operating systems.

learn more… | top users | synonyms

1
vote
1answer
1k views

ssh using certificates — can you rename id_rsa file?

When using certificate authentication with ssh, the instructions I have found indicate you should create a key-pair as id_rsa.pub && id_rsa. The public key is then sent to the remote system ...
0
votes
0answers
692 views

OpenSSH Server won't start on Windows 7

I have followed this example to setup an SFTP server on Windows 7. I have done this before on XP and it worked a treat, and the process seemed to go OK on Windows 7 but now I can't get the OpenSSH ...
0
votes
1answer
66 views

How can I set up a “remote pair-coding” environment linux to linux?

I did some research on how to enable a pair-coding environment remotely so someone else on their MacOx/Linux box could view my screen (I code using vim + the rails plugin). I read Evan Light's blog ...
2
votes
3answers
1k views

Can only ssh into Ubuntu 12.04 alpha machine when logged into console

I recently installed the latest Ubuntu 12.04 64bit alpha (2?) onto a VMware virtual machine in order to check things out. One strange thing I've encountered is that I can only successfully ssh into ...
0
votes
2answers
441 views

Small delay while connecting to virtual SSH (residing on the same machine)

I have set up a virtual machine - Debian 6.0.4 - on my Windows 7 host OS. I use VirtualBox as software. Recently I have started to play with ssh but I have noticed that when I login to the virtual ...
4
votes
1answer
1k views

What is a GPG with “authenticate” capability used for?

GnuPG subkeys can be flagged with three kind of capabilities: Sign, Encrypt and Authenticate. While the first two actions are widely used and documented, the authenticate action is somehow ...
4
votes
1answer
2k views

How to diagnose proxy over ssh?

Recently I've tried to set up proxy using ssh -D 2454 username@servername (to browse the Internet through ssh tunnel), but failed to do this correctly. I would be happy for any suggestions and/or ...
0
votes
1answer
865 views

strange permission error involving ssh, Cygwin, Windows 7, and .sh files

I am new to Cygwin, ssh, and messing with file permissions and have a problem. On computer WORKER1, I am attempting to ssh into computer WORKER2 and then running a .sh file on WORKER1 from there. From ...
10
votes
3answers
4k views

SSH: completly disabling password authentication

is there a way to disable password authentication completely? The command line is the following: ssh -o KbdInteractiveAuthentication=no -o PasswordAuthentication=no machine" it STILL asks for a ...
0
votes
1answer
422 views

Execute command/script after file transfer

I've configured a server (Ubuntu) with OpenSSH for file transfer via sFTP. The requirement is that after a file transfer, a mail is sent confirming the file was received by the system. How would I do ...
0
votes
0answers
77 views

ssh connecting timeouts from a to b, but works from a to c, and c to b

I am scratching my head here. I now get timeouts between hosts A and B, both running Ubuntu, with some firewall NATing on either side and a good dozen hops in between. (To clarify based on the first ...
0
votes
1answer
165 views

ssh_exchange_identification: unprotected port

I wanna login a guest minix system resides inside VirtualBox through ssh and receive the error ssh_exchange_identification: Connection closed by remote host. After turn on the verbose flag, the ...
1
vote
1answer
237 views

ssh to Windows server sitting behind Linux firewall

I have been looking everywhere and still can't get an answer. I am sorry if this is a re-post somehow. I Have a home network setup as follows: OUTSIDE -> Linux Firewall/Gateway -> Windows Server I ...
0
votes
0answers
326 views

SSH Port Forward 22

I'm trying to set up the following: At work I want to create a local port that will forward to port 22 on my home server. ssh -L 56879:home:22 username@home -p 443 right now I'm testing this on my ...
3
votes
1answer
1k views

OpenSSH public key structure

Let's say that my username is user and my computername is cmp. I notice they are also part of my SSH public key: (they are last, scroll right) user@cmp:~/.ssh$ ls config id_rsa id_rsa.pub ...
3
votes
2answers
425 views

Automatically reconnect interactive SSH session

What's the best way to automatically reconnect an interactive SSH session to re-establish the shells on terminals? I looked at autossh but that seems to be dedicated to port forwards (which I do not ...
1
vote
1answer
1k views

Make msysgit work with cygwin ssh?

git-upload-pack errors occur when sshing into cygwin. sshd in cygwin does not take paths from .bash_profile as expected in a *nix environment. What is the way to remedy this and make msysgit work ...
1
vote
3answers
2k views

How to get SSH working on Linux laptop?

I recently became interested in SSH, and so I attempted to set up a SSH server on my Linux laptop. I am running moonOS, a version of Ubuntu with the Enlightenment WM. First of all I ran "sudo apt-get ...
1
vote
1answer
158 views

SSH weird behaviour if user not logged on physical server

I have a strange issue with my ssh server. If I start my home server, then login through ubuntu with my account (I only have one account) everything works fine, I have no problem to access the ssh ...
2
votes
1answer
956 views

Can't setup SSH server on Cygwin

I had set this up a while ago on a different computer, but I can't get it running now. I've followed the directions at http://pigtail.net/LRP/printsrv/cygwin-sshd.html and I'm getting the following ...
1
vote
1answer
122 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 ...
7
votes
1answer
20k views

How can I setup the openSSH SFTP server on Linux?

I want to configure sftp-server to share a directory but I don't know how to modify /etc/ssh/sshd_config. My requirements are: 1) Login shall not use certificates, only password (i.e. authorization ...
3
votes
2answers
2k views

Public key in hex format, conversion to base64

Hi I'm new to cryptogragraphy and have no idea how to do this. So i get a public key from a Putty session and it looks like this: ...
1
vote
2answers
149 views

why doesnt key authentication work for openssh?

I am working on setting up a hadoop cluster, as per the following tutorial: http://www.michael-noll.com/tutorials/running-hadoop-on-ubuntu-linux-single-node-cluster/#sun-java-6 My problem comes in ...
0
votes
3answers
2k views

Ubuntu 11.04 desktop: cannot connect to openssh-server from the outside

I use Ubuntu 11.04 as desktop OS. I have openssh-server installed and can connect to it from the same computer. I want to use it to create a connection from another computer (on the same local ...
3
votes
2answers
1k views

Debian Squeeze 6.0.1 - configuration files missing after ssh installation

I had installed ssh but something went wrong and I uninstalled it. I removed the SSH configuration files by hand (I deleted all /etc/ssh folder). After ssh installation (I mean apt-get install ssh) I ...
1
vote
1answer
265 views

How do I achieve passwordless CVS updates?

I'm working on some code from my computer at home and would like to do CVS updates to a remote server. When I'm at work I don't need to type in a password, but at home each time I need to type in my ...
1
vote
1answer
722 views

How to login with an administrator account using OpenSSH on Windows 7?

I have just installed Cygwin and Openssh on my win7 box. After setting up the openssh, I can log in with my account (of course admin). But, I found my account under Ssh shell is filtered as a standard ...
2
votes
2answers
941 views

How to stop adding IP from EC2 to known_hosts for ssh?

I start/stop lots of new instances as I'm learning to use Amazon EC2. Every temporary instance is added to the known_hosts file. Is this ever a problem for others who use EC2 a lot? I'd like to tell ...
0
votes
1answer
1k views

Connecting to different ports via scp and ssh - why a different flag?

I routinely run sshd on a non-standard port (ie, not 22). When ssh-ing to my machine I use the -p flag. However, when using scp, the flag is -P (lowercase vs uppercase). Since they come out of the ...
0
votes
1answer
228 views

Openssh auto login is not working

I am using Debian 6.0 and I am trying to auto login into Debian 4.0. I generated rsa keys with ssh-keygen on Debian 6.0 and I copied id_rsa on Debian 4.0 in /root/.ssh/authorized_keys. When I tried to ...
3
votes
1answer
2k views

Connecting FileZilla to SFTP, OpenSSH

I've a Ubuntu machine where is installed OpenSSH. I want upload/download files there thru SFTP with FileZilla. SSH works good with putty etc, but when I try to connect with FileZilla, I get Status: ...
1
vote
0answers
167 views

ssh: known_hosts forwarding

In running ssh with agent forwarding. This allows me to do hg/git pulls from my server from systems that I have been authorized to based on my local i.e ssh -A myserver hg clone ...
1
vote
3answers
988 views

Force OS X to use SOCKS5

Currently I am using an OpenSSH session (with the -D flag to enable dynamic application level port forwarding) as a SOCKS proxy while I'm accessing the internet through an unencrypted wireless access ...
1
vote
1answer
565 views

Dynamic Proxy with OpenSSH and windows

Ok, so the goal is to be able to utilize the dynamic proxy method that OpenSSH provides with the -D option on the Linux client, such that any connection requests made against a local port are ...
1
vote
3answers
4k views

Why is OpenSSH not using the user specified in ssh_config?

I'm using OpenSSH from a Windows machine to connect to a Linux Mint 9 box. My Windows user name doesn't match the ssh target's user name, so I'm trying to specify the user to use for login using ...
0
votes
1answer
98 views

How can I change the directory in which I land when accessing a computer via SSH?

I always enter the computer in this directory: /cygdrive/c/Program Files/ICW/var How can I change that?
1
vote
2answers
235 views

Change OpenSSH account password in Linux

I suppose that my main Linux user account password serves as my SSH password as well. Is there a way I can modify this? As it turns out, I'd like to have a REALLY secure SSH password for obvious ...
0
votes
2answers
3k views

Remove all the keys (credentials) from a PC

I gonna have to change my Windows PC with a colleague at office. I've added a few rsa ssh keys while playing around with git, github, heroku and a few others. What'd be the best way to remove all my ...
2
votes
1answer
354 views

known_hosts file doesn't get populated anymore

I had a populated known_hosts file. I was editing it and for a split second I saw a permission error when I saved it. I went to check what the error was and the known_hosts file was blank. Now if I ...
1
vote
1answer
373 views

Console based speech program that can be run via SSH on Windows 7

I have just installed Cygwin with OpenSSH on my computer, and would like to have a speech program that I can run from a SSH session in a console, similar to the say command in Mac OS X. I have tried ...
3
votes
4answers
916 views

Is there a way I can use $PATH as defined by my bash profile?

I spend most of my day ssh'd into servers. I have a series of aliases/functions/scripts that allow me to type p hostname from the terminal and execute GNU screen(1) on the remote side, using the ...
0
votes
3answers
3k views

No /etc/init.d/sshd file? (Ubuntu / EC2)

On a fresh EC2 instance running Ubuntu, I see that there's no /etc/init.d/sshd file. I tried sudo apt-get install openssh-server And it shows that openssh-server is already the newest version. How ...
4
votes
1answer
56 views

Making SSH terminate on error

I have a script that is causing a bunch of ssh -D (socks proxy) connections to open. Sometimes one of them is trying to open on a port that is in use, in which case it prints an error. ...
2
votes
1answer
165 views

ssh_config -t option

Is there a way to add a host to ssh_config with a rule that emulates the -t option in the ssh command?
7
votes
1answer
3k views

Checking ssh keys have passphrases

I have a bunch of users, who with SSH keys have access to accounts on other servers. Currently I have a script which collects up the ssh public keys and distributes them to the correct account on the ...
0
votes
1answer
617 views

ssh-agent segmentation fault

I had openssh running just fine on cygwin. But after a recent update of openssh, I start getting the segmentation fault error when starting ssh-agent. Has anyone encountered such behavior and how can ...
1
vote
2answers
336 views

SSH Server Not Autostarting on Apple TV

I have an Apple TV onto which I installed Ubuntu Karmic. It works great save a small problem with SSH. The openssh-server package is installed and configured and can be started with sudo ...
1
vote
1answer
1k views

SSH Key Exchange from Cygwin to Ubuntu Fails

I'm trying to SSH from a Windows/Cygwin to Ubuntu. I am not using PuTTY. Instead, I'm using Cygwin ssh, which should be OpenSSH. I used ssh-user-config on the Windows machine to generate my key ...
8
votes
1answer
5k views

Denyhosts keeps adding my IP address to hosts.deny

I have setup Denyhosts to run on my server, and have been using it succesfully for the last few weeks, to allow me to ssh into my server from my home dev machine. This morning, I accidentally typed ...