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

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: ...
10
votes
5answers
25k views

How to SSH to localhost without password?

EDIT: Putting exactly what was done. I need to SSH to localhost without a password, the usual way of doing it (with public keys) do not work. user@PC:~$ rm -rf .ssh/* user@PC:~$ ssh-keygen -t rsa ...
1
vote
2answers
150 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 ...
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 ...
8
votes
6answers
25k views

OpenSSH server refuses to accept key authentication

I tried to use public key authentication on my new server, and I came across this problem. $ ssh -v -i .ssh/server 192.168.1.100 OpenSSH_5.6p1, OpenSSL 0.9.8r 8 Feb 2011 debug1: Reading configuration ...
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
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 ...
2
votes
1answer
375 views

How to use ssh-agent.exe without cygwin for pass-phrase protected private key?

I would like to access a SSH service with pass-phrase protected private key in Windows using ssh-agent.exe. So far I able to utilize ssh-agent.exe by changing environment setting in my home account ...
6
votes
2answers
8k views

change default username when ssh to another pc [duplicate]

When I ssh between different pcs I can omit my username (tom) and just type ssh pc_name instead of ssh tom@pc_name I like this feature, and have got into the habit of using it. Unfortunately, ...
10
votes
2answers
1k views

How to determine the port allocated on the server for a dynamically bound openssh reverse tunnel?

When creating reverse tunnels on recent versions of OpenSSH a remote port of 0 can be given to bind any available port: -R [bind_address:]port:host:hostport ... If the port argument is ...
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 ...
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 ...
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
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 ...
4
votes
2answers
3k views

Configure OSX Firewall to Allow SSH Server?

If I turn on my OSX firewall, ssh is disallowed. If I turn it off, ssh can connect just fine. These are the settings from the ssh host: while I don't know what I'm doing, I figured that giving ...
4
votes
1answer
2k views

How to reduce latency with openssh?

I'm ssh-ing to a server several thousands kilometers away, and every keystroke takes 500-800ms, so it is getting annoying. Is it possible to have my ssh client cache each line I type locally and ...
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?
22
votes
6answers
7k views

Is there a way for one SSH config file to include another one?

In case it matters: OS: Ubuntu 10.04 SSH: OpenSSH_5.3p1 Debian-3ubuntu5 I'd like one SSH config file to include another one. The use case would be to define whatever I want in my default ...
7
votes
1answer
3k views

How to add pointers to filesystems outside the chrooted environment - using chrooted SFTP via OpenSSH

So, I'm pretty sure this is true, but I haven't found a specifically detailed independent reference that directly answers my question. Question being: How can I add access to a resource that is ...
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 ...
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 ...
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 ...
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 ...
2
votes
2answers
942 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 ...
4
votes
6answers
7k views

How to tunnel port 25565 through SSH?

I want to play a game which is hosted on port 25565 (minecraft!), but my university firewall does not allow this port. I have a dedicated server running linux not too far from uni, so I think there's ...
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 ...
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 ...
0
votes
1answer
618 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
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 ...
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
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 ...
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 ...
3
votes
1answer
3k views

File encryption in a bash script without explicity providing password

I want to automate the following manual process. Currently, I am encryptying a set of files using openssl as follows: Encrypt file.txt to file.out using 256-bit AES in CBC mode $ openssl enc ...
1
vote
1answer
118 views

Serve ssh connection to wifi devices while connected to a wifi network

I was wondering if there's any way for a laptop to be both simultaneously connected to a wireless network, while at the same time acting as an ad-hoc network with local access to serve as a wifi ...
5
votes
4answers
17k views

Can someone explain the 'PasswordAuthentication' in the /etc/ssh/sshd_config file?

On this page, the explanation given is: The option PasswordAuthentication specifies whether we should use password-based authentication. For strong security, this option must always be set ...
0
votes
2answers
795 views

How to retrieve a public key from remote host?

I received from a partner an SSH private key also, I need to make a php script to connect to the host and send some data through this connexion. However I need to provide to the ssh php function a ...
0
votes
4answers
847 views

SSH Authorized_Key Login Works in One Direction Only

There are three files in my setup: id_rsa id_rsa.pub authorized_keys authorized_keys has a copy of id_rsa.pub contents to allow no-password logins. These files have been copied between two ...
1
vote
1answer
1k views

Unable to connect to CopSSH when running Windows service, works when running sshd directly

I've been using CopSSH (that uses OpenSSH and Cygwin, so I don't know which of the three is the problem) as my SSH server application at home on Windows 7 Ultimate 32 bit. I have used it for about a ...
1
vote
3answers
372 views

If I ssh to a domain provided by dyndns, does my password go through them?

I'm running Ubuntu on my work PC, and my work place provides me with a static IP address but not with a domain. It's sometimes useful for me to connect to that PC through ssh, but it's not common ...
0
votes
1answer
988 views

SSH doesn't work on Ubuntu

I am trying to connect to my webserver via ssh but I can't. When I insert the password nothing happens. This is what I see: # ssh username@username.example.com username@username.example.com's ...
1
vote
2answers
1k views

A failed login lockout system for ssh on Ubuntu that actually works?

Currently, my ssh server lets a user fail to login an infinite number of times (theoretically until the password is correctly guessed). I do not want this to be the case, I want the user to be banned ...
1
vote
2answers
211 views

ssh - Simple sharing files solution

The first time I use ssh connect ( putty ) when I try to share my contents from my windows and Linux ( VirtualBox ) . I find it's quite fast to share contents through ssh . And I've found that ...
1
vote
2answers
3k views

I can't login cygwin/ssh from Mac

I installed sshd on my cygwin, and I tested it on the local machine which works fine. sh-host-config -y cygrunsrv -S sshd But when I try to login from my Mac, I can't login to the cygwin. The ...