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
1answer
406 views

SSH: “no such identity”

I'm having a very peculiar problem getting SSH to work on my Linux box. I have a passwordless git user identified by an OpenSSH key. If I attempt to ssh into it from either the same or a different ...
3
votes
1answer
2k views

Can't write or download to SFTP on Ubuntu Server 10.04

I'm having a problem setting up SFTP with an Ubuntu Server 10.04 LTS x64. I use openSSH with public key authentication, I can login with SSH perfectly with the keys no problem. I can also connect to ...
2
votes
1answer
77 views

GIT via OpenSSH in Powershell is fine, so why can't I connect in plain cmd console?

when I run ssh user@servername01 ...under powershell it connects without a problem, however when I run the same command under a standard cmd prompt I am prompted for a password (no password is set ...
2
votes
1answer
2k views

Cygwin OpenSSH closes immediately after a connection

Trying to connect to cygwin-sshd using putty or cygwin ssh on localhost, here is all I get. I have it working fine on a different Win7x64 machine but this one is proving hellish. Config files for ...
2
votes
1answer
1k views

openssh in Windows 7, run ssh-add once for all cmd instances

I have installed openSSH as part of the latest cygwin distribution. My goal is to use the ssh-agent from native window console (cmd) in order to login passwordless in a various number of Linux ...
2
votes
1answer
394 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 ...
1
vote
1answer
120 views

Mass creating users who can login via ssh keys but not with a password

I am trying to mass creating users that can login via ssh private/public keys but which can not login with users (kind of like using newusers but I want to make sure users will not be able to login ...
1
vote
1answer
158 views

What ProxyCommand to use for ssh host-based authentication relay?

I have a host $HOST which I can (only) access by sshing to a host $BASTION and then, by host-based authentication, connect to with ssh $HOST. $HOST does not accept access by for example public-key ...
1
vote
1answer
85 views

Bash command substitution and variable issue

I am writing some simple backup utility in bash and any output must be in JSON. I am checking for host reachability and if any error occurs, I want to print it out. However, I have an issue with ...
1
vote
1answer
906 views

Forwarded connection refused by server: Administratively prohibited [open failed]

I sometimes use PuTTY as a SOCKS proxy, and I've noticed that sometimes, when the web-page I'm trying to connect to (from the web-browser) does not exist, and requires a prolonged timeout, the shell ...
1
vote
1answer
801 views

ssh localhost password-less Login not working

I have been trying to ssh localhost into the same machine. I copied the generated public key into the authorized_keys file. It still doesn't work. I have spent hours on trying to find a solution to ...
1
vote
1answer
231 views

openssh: “… disabled because of invalid user”, why?

I'm trying to make openssh work on android phone. When I'm trying to log in it refuses to accept my key. Here is the related lines of debug log: debug1: attempt 1 failures 0 debug2: ...
1
vote
1answer
111 views

Can I get OpenSSH's sshd to accept a login for a non-existent user?

I'm trying to set up sshd to do some funky things on a dedicated server. (Which is to say, don't worry about why I'm asking such a strange question; I'm just experimenting to see how I can abuse ...
3
votes
0answers
153 views

SSHD Consuming 100% of CPU (Hundreds of processes) - Will not die

Recently I've noticed that SSHd on a few systems I administrate will start spawning unstoppable processes which will consume huge amounts of CPU. The syscall shows that the processes are all ...
2
votes
0answers
349 views

Launchd not launching ssh-agent after plist edit

I'm trying to reconfigure my ssh-agent to have a timeout via the -t argument. I edited /System/Library/LaunchAgents/org.openbsd.ssh-agent.plist <array> ...
2
votes
0answers
92 views

SSH through a tunnel or directly depending on the network I'm conncted to

Is it possible to "automatically" configure ssh to use a gateway to connect to a remote machine based on the client's IP address or something in the likes? Suppose I'm at my laptop, which I can plug ...
1
vote
0answers
94 views

Open SSH - issue logging in without password - public key

I'm having an issue where I'm unable to login by SSH - I've followed other guides and made sure permissions were set correctly, and that the publickeys on my local machine and remote machine match as ...
1
vote
0answers
135 views

XCOFF32 object files are not allowed in 64-bit mode while installing Crypt-SSLeay-0.65_02

I am installing a Perl package Crypt-SSLeay-0.65_02 in an AIX 6.1 system but while performing perl Makefile.PL getting the following error. The test suite can attempt to connect to public servers to ...
1
vote
0answers
242 views

Can I use a password ssh login on a passwordless windows 8.1 account? (Cygwin)

I recently installed Cygwin + OpenSSH (package) on Windows 8.1. However, I'm only using one passwordless Windows account on that machine, but I would like to login with SSH remotely with password (for ...
1
vote
0answers
258 views

OpenSSH on a Windows box using domain authentication: can't logon

On my windows 2008 box I just did what the steps said: mkgroup -d >> ..\etc\group mkpasswd -d -u username >> ..\etc\passwd In my passwd file, I see my user like it's been pulled in from the ...
1
vote
0answers
67 views

Configuring SSH server to require RSA key

I'm trying to configure my SSH server to require users to have an RSA key. To do this I have the settings in sshd_config set to RSAAuthentication yes PubkeyAuthentication yes #AuthorizedKeysFile ...
1
vote
0answers
388 views

git clone extremely slow using ssh

Originally I could do git clone using ssh at an acceptable speed. However my ubuntu crashed, so I reinstalled using the newest version 13.04. After I re-installed all I try to do git clone using ssh ...
1
vote
0answers
59 views

how to simulate a file under linux?

I'm basically trying to do this using openssh: I have a private key, however it isn't in file (it's in memory). Now, I want to create the public key in openssh format. For that I would generally run ...
1
vote
0answers
113 views

Linux to Windows (OpenSSH) directory bindings

I've got OpenSSH working on a windows machine and have been able to successfully connect from Linux to Windows and vice-versa. I need to know how Linux paths are linked to windows while using scp. ...
1
vote
0answers
453 views

ProxyCommand with sudo

I'm trying to set up SSH so that I can easily log into an server that is accessible only via a sudo to an intermediate server. From the command line, logging into it is of the form: sudo -u admin ...
1
vote
0answers
416 views

SSH server installation on windows

I'm working on a SSH project. For that I setup everything on client side. But I'm facing a problem on my SSH server. I tried some SSH servers like OpenSSH. I installed the OpenSSH server on my ...
1
vote
0answers
175 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 ...
0
votes
0answers
29 views

SSH key verification fails when connecting for first time

I'm trying to connect and it fails to verify key. I have no problems when connecting by PuTTY. $ ssh -v xxx.xxx.xxx.xxx OpenSSH_6.0p1 Debian-4+deb7u2, OpenSSL 1.0.1e 11 Feb 2013 debug1: Reading ...
0
votes
0answers
101 views

Unable to SSH into freshly installed debian VM, “Permission denied, please try again.” error

I just set up a Debian 7 VM. I can ping my VM from host OS, which is Ubuntu 14.1, but can not ssh into VM. Here is the output of ssh -v EDIT: I am using virtulbox. I am not using any command line ...
0
votes
0answers
50 views

Ubuntu 14.04 ssh server hanging when connecting but pings works

I am running an Ubuntu ssh server with login and ChallengeResponseAuthentication enabled. However, the following command outputs this and hangs until timing out: ssh -vvv name@xxx.xx.xxx.xxx ...
0
votes
0answers
22 views

ssh-agent/ssh-add - how can I force confirmation by default?

I use ssh forwarding alot and I'm concerned about "agent hijacking", so, I like to use -c option when calling ssh-add, which enforces confirmation on every key usage. How can I turn the confirmations ...
0
votes
0answers
33 views

How to set-up and run Open SSH?

I just installed Open SSH. It's not very friendly towards me I must say. The program files directory contains several .exe files without even a readme file. So far, I didn't even figure out which ...
0
votes
0answers
33 views

Two different system having same internal ip address

I am not sure if I am posting this in right forum. If not, please let me know. The problem is that I have two notebooks, one with Ubuntu 12.04 and other one with Ubuntu 14.04. Both the systems are ...
0
votes
0answers
14 views

Supply ssh key without querying agent

In my ssh_config, I set IdentityFile and IdentitiesOnly yes and ForwardAgent no. ssh uses this key but it still queries the agent! But it shouldn't do that; I explicitely supply the key I want. The ...
0
votes
0answers
40 views

Unable to connect to Cygwin from Mac OS X by ssh

I've started ssh server on Windows 7 using Cywgin and I'm trying to connect to it by ssh from Mac OS X Mavericks. It fails with next error: ./ssh username@hostname -v OpenSSH_6.6, OpenSSL ...
0
votes
0answers
38 views

ssh_exchange_identification after few attempts

To help find diagnose a ssh issue with a gitlab server, I've written the following script #!/bin/bash while : ; do ssh -v git@example.com || exit 1 done After few successful iterations ...
0
votes
0answers
99 views

Android SHH tunneling through school Wi-Fi

Ok so I'll try my best to explain the situation at hand here. My school recently got a new web filter that blocks literally, everything. I can't use Google Drive or anything that I need anymore. Our ...
0
votes
0answers
26 views

Connecting to Windows with OpenSSH using External IP

HELP I have been working on this issue for a few days now and its really getting frustrating, any help would be greatly appreciated. I will start with my setup. I have AT&T U-verse which comes ...
0
votes
0answers
34 views

Questions to ssh connection with keys

I think of using sftp as transfer for backups and using keys instead of passwords. I understand it works this way: I've got 2 servers: server1 and backup I want server1 to connect to backup and ...
0
votes
0answers
224 views

Running Python Code Remotely

I have the following situation: I want to write and debug python code in my Laptop with public IP Then send it to some remote desktop(with private IP) in my University for running the code that will ...
0
votes
0answers
105 views

authorized_users permissions while using a symbolic link

I recently had to replace my primary drive because some sectors were going bad and could not be recovered. Anyways, In an effort to get the system back up and running quickly, I made my /home dir a ...
0
votes
0answers
76 views

Reducing OpenSSH session key size

I am running into severe performance issues using SSH/Rsync on a Synology NAS (model DS413j if anybody knows anything about it). Both the sshd and the rsync processes are taking 100% CPU on the NAS, ...
0
votes
0answers
94 views

OpenSSH over VPN (unable to bring up tun0)

I have a nerwork(10.1.2.0/24) where i connected OpenSSH server and OpenSSH client via a switch. I am following this guide: http://bodhizazen.net/Tutorials/VPN-Over-SSH/ I can successfully ssh to ...
0
votes
0answers
629 views

Configuring OpenSSH for Windows in Cygwin - can't leave blank password

I install OpenSSH in Cygwin under Windows 7 to install Hadoop. I had OpenSSH installed previously, but with a password. All attempts to remove password are failed, so I re-installed Cygwin. I want ...
0
votes
0answers
2k views

Running rdesktop via SSH Tunnel causes ERROR: Failed to open display:

I can use rdesktop fine on my Linux Mint (3.2.0-23-generic kernel) system like this : rdesktop IPAddress However, I'd like to run rdesktop through my OpenSSH ssh tunnel. I using the following: ...
0
votes
0answers
192 views

Connecting SSH with OpenSSH key

I have a CentOS 6 server and I want to connect to it with a private key. On Windows, I use PuTTY Keygen and paste the public key in my server, in .ssh/authorized_keys2 (also tried authorized_keys, ...
0
votes
0answers
49 views

Switching user in openssh using PAM

I'm trying to write a PAModule which will use compare the inserted username against a file. If the username exists in the file, it will change the username to root (since the username does not really ...
0
votes
0answers
750 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
0answers
79 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
0answers
342 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 ...