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

2
votes
0answers
44 views

Something I'm not “getting” about SSH keys: OS portability (Mac to Windows, etc.)

Let's say I create SSH keys in a Mac to connect to my remote server. My server has my public key. My Mac has my private key. So far so good. A few days later, I want to connect to my server by ...
0
votes
0answers
8 views

Can ssh with console but get timed out with MATE/Nautilus

I have a Debian virtualbox with i plan to use as a dev server. But when trying to open a network with Mate i get timed out. Works fine via the CLI (but i DO have to specify the port even if its the ...
3
votes
1answer
20 views

SSH key exchange configuration uncertainty

I'm currently configuring ssh on a server and reading trough several guides. Many feature a @url.tld after the option in KexAlgorithms like: KexAlgorithms curve25519-sha256@libssh.org This is ...
3
votes
1answer
30 views

How to convert a ppk to an openSSH private key encrypted with a passphrase

When I exported my private key in PuttyGen, I assumed that the passphrase I set was also used on the openSSH version. I'm finding that the passphrase I put in isn't working. What's the right way to ...
1
vote
2answers
31 views

Connecting two separate SSH connections together

I'm working on a small project and looking for some advice on how to make a portion of the project work. Goal - join two separate ssh sessions together. I want to see if keys used to login to bastion ...
0
votes
0answers
13 views

pam_exec.so doesn't write password to script when expose_authtok is enabled

We are using PAM for authenticating with external radius server. We have the following line in /etc/pam.d/common-auth auth [success=6 default=ignore] pam_exec.so expose_authtok ...
0
votes
1answer
34 views

How can I SSH from Hong Kong to China?

Me in Hong Kong, girl friend in China. I have installed SSH server on both computers. When both computers were in Hong Kong, I connected both to the internet (via my internet connection at home), ...
1
vote
1answer
28 views

Rsync ask for password even though I can SSH in without a password using a key

This is the command I'm using: sudo rsync -rvz -e 'ssh -p 1111' ******@111.111.111.111:/home/sql/ /media/disk1/bd92a143-c4d7-4b70-bb6a-6576678fa96b/user/Backups/sql/4-6-2015 Any advice?
2
votes
1answer
47 views

ssh -o PreferredAuthentications: What's the difference between “password” and “keyboard-interactive”?

Both PreferredAuthentications=password and PreferredAuthentications=keyboard-interactive would prompt for the password, so what's the difference between them? I Google'd with the keywords ssh ...
0
votes
0answers
19 views

Doubled terminal emulation sessions renders foreground and background of characters the same color from the destination

I have some no graphics card (“headless”) server that I have to operate via the serial port as the console to install Linux, VMware, and other OSes. For a terminal server I use a Linux box with a USB ...
0
votes
1answer
30 views

custom message ssh “ssh_exchange_identification: Connection closed by remote host”

Usually I am blocking hosts with /etc/hosts.deny. When restricted host trying to connect to the sshserver user gets following message "ssh_exchange_identification: Connection closed by remote host" ...
-1
votes
1answer
62 views

passwordless ssh works for root but not for other users

I did the following for both root and orainst users, I have added id_rsa.pub of first machine to the authorized_keys of the second machine I have 700 permission on .ssh folder passwordless ssh ...
0
votes
0answers
39 views

Usage of ssh-agent with signed SSH keys

My ssh-agent doesn't want to store my credentials for Signed SSH key when connecting to a SSH server that use a SSH CA. I mean, each time i try to logon it ask me for the passphrase of the certified ...
2
votes
2answers
35 views

SSH ignore global config

I want SSH to ignore the global configuration file in a shared user environment where I do not have control over system-wide configuration since there are settings which conflict with my expected use ...
0
votes
2answers
45 views

Can't install openssh under ubuntu 14.04

I am just trying to install openssh-client and openssh-server on my Ubuntu 14.04 machine. When I do sudo apt-get install openssh-client I get the following: http://pastebin.com/YJp04iin (I ...
0
votes
1answer
55 views

ssh session timeout using openssh client

I have a system which I can reach via ssh. I can reach it from a windows PC using putty and from a ubuntu system (Ubuntu 14.04.2 LTS). When I connect with putty to the system and doing the following ...
0
votes
2answers
58 views

SSH Server Not Visible to the Public Internet

I have OpenSSH Server installed on a Ubuntu (Server) 14.04 machine. I can connect over my local network but cannot across the Internet. I have port forwarding set up on the router. I have tried: ...
1
vote
1answer
48 views

Can't connect with OpenSSH sftp with custom port

I am using Cygwin on Windows 7. I have installed OpenSSH client and i am using it connect to Ubuntu server installed on virtualbox through localhost. I am connecting through ssh with this command: ...
1
vote
0answers
87 views

OpenSSH without password does not work Cygwin Windows 7

I've tried several ways to install openssh without password but it does not work. With password it works fine! (Cygwin, Windows7 32Bit) First I did it like execute ssh command without password? ...
1
vote
1answer
205 views

How can I find a list of MACs, Ciphers, and KexAlgorithms that my openssh client supports?

Is there a way to make ssh output what MACs, Ciphers, and KexAlgorithms that it supports? I'd like to find out dynamically instead of having to look at the source.
0
votes
1answer
27 views

Disabling ECDSA

Guys I've just installed ArchLinux on my Cubieboard, but I can't connect via ssh to the target. Problem is in encryption. Putty and a SSH client on my Android device doesn't support the algorithm. So ...
0
votes
1answer
36 views

How can I force SSH to ignore the IdentityFile listed in “Host *” for one specific host?

My SSH config file is set up to use a specific IdentityFile in the Host * section as the default key. For one particular host, I want to offer a different key (and only that key, never the default ...
1
vote
1answer
34 views

Password less ssh AIX Linux

I tried to configure password less SSH from AIX to Linux. I executed the command. scp .ssh/id_rsa.pub root@10.170.163.74:/root/.ssh/authorized_keys When I execute the command and try to connect ...
1
vote
1answer
71 views

SSH jump hosts error

I have trouble understanding a peculiar behavior of ssh jump hosts. I have these configurations in my ~/.ssh/config: Host bastion-server Hostname server.bastion.com ForwardAgent yes User user ...
0
votes
1answer
35 views

an ssh subsystem that does ls

Normally you create a subsystem by doing Subsystem vim /usr/bin/vim or something like that. So how would I do a subsystem that did ls -la? ie. you call the ls subsystem, it gives you an ls and then ...
0
votes
1answer
39 views

Interactive program ignores keystrokes on a CygWin OpenSSH Server

I am running Windows 7 SP1. I have installed CygWin with OpenSSH, so now I have a running SSH Daemon that seems to be working OK, except for a problem with an interactive command-line program that ...
1
vote
0answers
60 views

SSH Agent Forwarding not working even when using `ssh -A`

First of all, I've checked all the following Agent Forwarding not working Extra configuration required for ssh-agent forwarding? SSH Agent Forwarding Not Working ...
0
votes
1answer
99 views

openssh server not able to root login

I have root filesystem(compiled using Buildroot). I start openssh server by executing /usr/sbin/sshd. /usr/sbin/sshd uses /etc/sshd_config to configure itself . The parameters enabled in ...
0
votes
2answers
123 views

SSH config host match port

I have a server that has multiple "SSH daemons" running (actually Stash and OpenSSH), with different SSH keys needed for each. These daemons are listening on 2 different ports. In the SSH config on ...
0
votes
0answers
48 views

autossh random monitoring port

I have multiple reverse ssh tunnels and I am trying to grab a free random port for monitoring. The forwards work fine and in most cases, when there is a disconnect, it will automatically reconnect. ...
0
votes
1answer
18 views

unable to use ssh-1 despite protocol being 2,1 in sshd_config file

When I do telnet localhost 22 I get SSH-2.0-OpenSSH_6.6p1 Ubuntu-2ubuntu1 back. Since my sshd_config file has Protocol 2,1 in it (vs Protocol 2) shouldn't I be getting SSH-1.99-OpenSSH-6.6p1 ...
1
vote
1answer
38 views

OpenSSH server refuses to accept key authentication unless logged into server locally

My server is running Ubuntu-Server and ahs OpenSSH-Server installed on it. I set up the /etc/ssh/sshd_config file to accept and require rsa keys, it looks for keys in the 'AuthorizedKeys ...
0
votes
0answers
96 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
1answer
116 views

Accessing mysql behind firewall with ssh port forwarding

I have an architecture which looks like this: | - DMZ - | ________ | ________ | _______ | CLIENT | | | SERVER | | | MYSQL | |________| | |________| | |_______| ...
0
votes
0answers
227 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
2answers
35 views

ssh keeps asking for new password

I want to login to a Linux box with openssh installed. After each login ssh requests me to change my password because it is outdated. How can I prefent this? The server system is created with ...
0
votes
0answers
250 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
37 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
1answer
339 views

SSH authorized_keys and newline

I am trying to configure SSH with public-key authentication on Debian. I can't seem to get it to work because auth.log keeps saying that can't read key type:...(key line)\n. It keeps complaining ...
5
votes
1answer
358 views

How are Ciphers, MACs and Key exchange algorithms negotiated by OpenSSH?

Looking at the man page for sshd_config I see the default list of algorithms for Ciphers, Key Exchange (KEX) and MACs. In my set up, I have selected a subset of these algorithms for use (i.e. I don't ...
0
votes
1answer
25 views

Is there such a thing as a universal autorized_keys for 1 ssh_key to work on all accounts on a machine?

I run a webserver so I'm constantly making new accounts for new domains and logging into them over ssh. Is there a way that instead of pasting my id_dsa.pub file into a new authorized_keys file on ...
0
votes
0answers
43 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
3answers
142 views

How do I install OpenSSH on Ubuntu 12.10 without apt-get?

I need to use Ubuntu 12.10 and want to install OpenSSH on it. Since this is a deprecated version of Ubuntu I cannot use apt-get to attain the wanted package, so how should I move forth to be able to ...
2
votes
1answer
159 views

Using homebrew's OpenSSH on OS X with ZSH

I've installed the latest version of OpenSSH on OS X using homebrew. As per the instructions in the formula, I have edited the org.openbsd.ssh-agent.plist file to point to /usr/local/bin/ssh-agent, ...
0
votes
1answer
111 views

Trouble Installing SSH with Cygwin

I'm using Cygwin (or more specifically zsh installed via Cygwin) and I've installed all of the ssh packages including Net/openssh, but when I try to run ssh (or things like ssh-host-config) I get: ➜ ...
0
votes
1answer
435 views

Use custom SSH authentication mechanism (OpenSSH)

I have a collection of servers (Debian/Ubuntu) for which I need to create a custom ssh authentication mechanism. I found a couple of 'same-ish' examples for reference with Duo and Authy. They are ...
0
votes
0answers
40 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
17 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
1answer
368 views

Hide ssh version

I did a tcpdump when connecting to my server over ssh. First thing I see is: SSH-2.0-OpenSSH_5.3 Is it possible to make the server not send it's ssh version?
1
vote
0answers
140 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 ...