Questions about the OpenSSH implementation of the ssh protocol.

learn more… | top users | synonyms

0
votes
1answer
19 views

Why are there 2 different fingerprints for ssh depending on what network I connect from?

When I connect to my computer over ssh on the local network, putty fives me the correct fingerprint of ssh-rsa 2048 ad:e3:4c:e3:d0:6f:81:2e:05:94:77:6c:0f:2c:a8:7f This matches the fingerprint on ...
0
votes
0answers
18 views

OpenSSH ForceCommand

I want to disable this kind of command executing: ssh user@host command on my server. Then, I want to run some tests and later invoke the interactive shell What I did I've found in the web that ...
0
votes
1answer
41 views

Problems with SSH ProxyCommand [closed]

i have some problems with the ssh proxycommand. The authentication on the proxy works fine, but when i want to login to the remote-host it fails. The problem seems to be, that the proxy tries to login ...
1
vote
1answer
85 views

Completely new to SSH

I'm trying to SSH from Debian (Jessie, installed as chroot environment in Chrome OS) to Arch on the same network, and I keep getting an error saying the connection was refused because of a public key ...
6
votes
1answer
41 views

Current SSH connection properties (cipher, auth type, timeout, etc)

After a connection is established with SSH, how we can get the current connection properties ? Is there a way to know what cipher(s) is being used ? Properties of the authentication ? Protocol ...
1
vote
1answer
17 views

OpenSSH accesslog : Logging ciphers, MAC and user agent

How to log the Protocol, KexAlgorithm, Cipher and MAC algorithm negociated by the client and the client's user agent string? What I'm looking for is the OpenSSH equivalent to Apache HTTPD's CustomLog+...
-1
votes
1answer
42 views

ssh login does't work using key without password

It seems that id_dsa doesn't exist and it tries id_ecdsa, but it's there and I tried to regenerate it several times and still doesn't work. any one has the same issue and solved? or any one know how ...
1
vote
0answers
67 views

Why is it not possible to connect to my server using RSA from an Ubuntu machine?

I tried to connect to my server using ssh xxxx@xxxxxxx.xxx The result was: Unable to negotiate with xxx.xxx.xxx.xxx port 22: no matching host key type found. Their offer: ssh-dss Then I ran ssh ...
1
vote
2answers
46 views

GNU Parallel and sshpass with server list in a loop

With this loop we sequential update on all servers (server list = consul members | grep awk {'print $2'} | cut -d ":" -f1) the package consul. for i in $(consul members | grep awk {'print $2'} | cut -...
3
votes
0answers
53 views

openSSH login slow for one user but not others

I'm running a server at home with Ubuntu 14.04. I have two users on the machine, say user1 and user2, each able to ssh into the box. While user1 logs in very quickly, user2 takes about 20 seconds to ...
0
votes
2answers
46 views

Can't SSH (connection refused) [closed]

I'm trying to set up a headless machine running manjaro. I install and enable openssh, and can ssh localhost, but can't ssh by another machine. Plus, if I modify the /etc/ssh/sshd_config I cannot even ...
1
vote
3answers
43 views

How to SSH via intermediate server [duplicate]

Three server A,B & C. How to ssh connect from A to C via intermediate server B, if A to B & C to B are password less(key)? I encountered this in an interview. Anyone knows how?
1
vote
1answer
22 views

SSH in local network while hosting same network

I have the following setup: Computer A has a Wifi-USB adapter (and is a robot, so it doesn't need real internet access). It's running Ubuntu 14.04. Computer B is my Laptop running Ubuntu 14.04 also. ...
2
votes
1answer
46 views

error: conflicting types when cross compiling openssh for armv5tel

When cross compiling openssh-7.2p2 on wheezy for armv5tel, I get the following errors. Before this, I have successfully cross compiled and installed zlib-1.2.8 and openssl-1.0.2h. For openssl, I used ...
3
votes
1answer
42 views

Cannot tunnel over ssh without command/getting shell [duplicate]

I would like using ssh tunneling options. For that purpose I use command: ssh -L 1234:localhost:5678 host however this logs me into the shell on remote host. Next I tried -f as: ssh -f -L 8999:...
0
votes
1answer
56 views

sshd AllowGroups group not granting access

I have this weird situation: On a Centos 6.6 box, in my sshd_config, I have the line AllowGroups foo bar baz just like on all the other servers. However, when user baz (whose group is baz) tries to ...
3
votes
1answer
31 views

How to limit connections to OpenSSH server to using private keys necessarily with passphrase?

Is there any way to configure OpenSSH (/etc/ssh/sshd_config) server to allow private keys necessarily with passphrase?
0
votes
0answers
42 views

how to manage stdout/stdin buffering while doing ssh using openssh?

I have an embedded system -Linux, which has openssh utility - Linux. I am trying to do ssh from first device to second device and from second device to the third device. When I am doing the second ...
1
vote
1answer
716 views

ssh key_load_public: invalid format warning

SSHing into my system succeeds but even without the -v flag I get key_load_public: invalid format message. Below is the output w/ using the verbose flag. Specifically debug1: key_load_public: No ...
0
votes
1answer
19 views

Under remote (ssh) .. How do I remove all remotes and root logins [closed]

How do you delete ssh if you suspect ra root administrating your macbook.. And are under a control by ssh remote?
1
vote
2answers
95 views

Why does SCP fail when “RequestTTY force” option is enabled?

In my SSH config file, I have to enable the RequestTTY force for some important reasons. And currently my config file looks like this: Host x.x.x.x HostName yyyy StrictHostKeyChecking no ...
2
votes
2answers
128 views

pssh (Parallel-ssh) passing different parameter for every host

I have a file called hosts which looks as follow: host1 host2 host3 host4 ..... On these machines there is also a local user named as the machine name. host1 user is created on host1 host and so ...
0
votes
1answer
32 views

Why does SSH client offer public key to SSH server?

If I enable -vvv when logging in to a SSH server using key-based authentication, then according to debug messages SSH client offers public key to SSH server: debug1: Offering public key: /home/user/....
1
vote
1answer
52 views

The most secure Alpine SSHD Configuration

I'm experimenting with Docker's alpine image and OpenSSH. The sshd_config file that ships with alpine has everything commented out by default. I only uncomment Port 22. I assume this is the most ...
0
votes
1answer
1k views

SFTP, SSH Couldn't read packet: Connection reset by peer [duplicate]

My sftp -v to host returns, Connecting to xxx.xx.xx.xx... OpenSSH_3.9p1, OpenSSL 0.9.7a Feb 19 2003 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: ...
1
vote
1answer
155 views

Specifying SSH KexAlgorithms works at CLI but not via ssh_config [duplicate]

By default, my SSH client disallows the use of the diffie-hellman-group-exchange-sha256 key exchange algorithm. However, I need to access a server on 10.0.0.1 that requires the use of that algorithm. ...
5
votes
2answers
261 views

options override for openssh client configuration

Since I want to protect my ssh connections, I set some global cipher suite options to restrict set of used algorithms. But recently I've encountered a server which doesn't support some of those ...
1
vote
1answer
195 views

SSH access asking for password in local network but public

I have a problem when ssh to another server. I created ssh-key and copied it to other server. -bash-4.2$ whoami postgres -bash-4.2$ ssh-keygen Generating public/private rsa key pair. Enter file in ...
0
votes
0answers
160 views

SFTP connection using public key (without password) not working

I need to provide sftp access to a client to my ftp server and this is working fine. For them to access our server without using password - we have followed the below steps on our server. Created ...
5
votes
1answer
253 views

Can I get SSH to use an askpass program even if it was run from a terminal?

man ssh says: SSH_ASKPASS If ssh needs a passphrase, it will read the passphrase from the current terminal if it was run from a terminal. If ssh does not have a terminal associated with ...
0
votes
2answers
133 views

How to use openSSH for disc encryption at boot time (OpenSSH vs. Dropbear)

Basic setup: - Operating System: CentOS 7 (64 bit) - Grub 2 - separate boot partition with ext4 - luks encryption (aes-xts-plain64:sha512) on two disc partitions which both need to be unlocked by ...
0
votes
0answers
16 views

Printing to a remote network printer over ssh using a proxy server [duplicate]

I want to be able to print to a network printer at home from a remote location. I don't want to open a port on my router. Is it possible to use a SSH tunnel to connect via my home server (Fedora) ...
0
votes
0answers
16 views

Printing to a remote network printer over SSH [duplicate]

I want to be able to print to a network printer at home from a remote location. I don't want to open a port on my router. Is it possible to use a SSH tunnel to connect via my home server (Fedora) ...
1
vote
2answers
115 views

Cannot ssh without password [duplicate]

I have been trying to set up remote file copy without password between 2 Linux machines. I have appended my .ssh/id_rsa.pub from local to remote .ssh/authorized_keys. I have also set up correct file ...
0
votes
1answer
68 views

Why am I still being asked for an ssh password when I'm using private key authentication?

I have Linux mint on my pc. I have a public/private key pair to ssh into my router without having to type the password. It works on Windows using putty, but Mint isn't when I run it from terminal. ...
1
vote
1answer
83 views

Change SSH banner which is grabbed by netcat

I have installed openssh server. I want to disable banner which is shown when I do :: nc 0.0.0.0 22 It shows something like this :: SSH-2.0-OpenSSH_6.7p1 Raspbian-5 . How to make it show something ...
1
vote
0answers
75 views

Slow SSH connection on embedded platform

I am operating an embedded device running the linux core. I have OpenSHH_4.9p1 installed running in debug mode and trying to establish an SSH connection using PuTTY. After the login screen everything ...
0
votes
0answers
64 views

Ansible: running from virtualenvwrapper with pip installation

I'm trying to test ansible with a "pip" installation of ansible in a virtualenv of python managed by virtualenvwrapper. However, I am having problems to use the ssh-agent and the SSH keys: (ansible)$ ...
2
votes
1answer
66 views

How to convert open-ssl created private key to openssh private key?

I have created an open-ssl private key which I would like to use to connect to my server through ssh. The openssl key was generated during certificate creation and I have to use this key on putty. The ...
1
vote
0answers
149 views

Freeradius PAM create user and home on login

At this moment i have installed freeradius and PAM radius properly. When i create an account on the system and set a password in /etc/raddb/users.conf the user can login. Sudo also works great with ...
5
votes
1answer
209 views

How to disable password prompt from ssh client side?

I have a script that relies on public/private key ssh authentication. The problem is that some systems are misconfigured and do not have the proper ssh public/private key trust set up. When that ...
0
votes
1answer
69 views

Cannot setup password less ssh on local host

I followed all the steps given in the following answer - 1. ssh-keygen -t rsa Press enter for each line 2. cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys 3. chmod og-wx ~/.ssh/...
0
votes
1answer
95 views

ssh authentification without-password is not working anymore

I used to run an ssh without password on my servers (after I copied my id). Today, it stopped working, here is a debug: OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014 debug1: Reading configuration data /...
3
votes
2answers
23 views

OpenSSH import configuration from external files

I've been searching around with no luck, so I'm just asking to make sure. Is it possible to import an external config file? Example with ~/.ss/config file : Hosts * IdentityFile ~/.ssh/...
1
vote
2answers
81 views

Forward ssh for git user to git server

It is surprisingly difficult to find information on this simple problem. Like many people we run a gitlabs/gogs server on a remote instance. Currently it listens on port 10022. We also run ssh on ...
1
vote
1answer
49 views

ssh_config: Add a host section that matches IPs even when connecting via hostname

I want a host section in my ssh config that matches any local IP: Host 10.* 192.168.*.* 172.31.* 172.30.* 172.2?.* 172.1?.* setting setting ... This works as long as I connect directly to a ...
-1
votes
2answers
98 views

How can I Log ssh login passwords attempts?

I need to log ssh passwords attempts. I read somewhere you could get this done by patching openssh but I don't know if that is the correct way to get this done. I am using Arch. EDIT: I want to get ...
1
vote
1answer
126 views

Make sshd override login shell of a group of users

My users are shared across a number of machines via LDAP. For one of those machines (let's call it 'fileserf'), I would like to restrict some users in what they can do (actually: prevent them from ...
2
votes
1answer
89 views

SSH: display warning when using (deprecated) ssh-dss key

With the 7.0 release, OpenSSH disabled ssh-dss keys. The not-so-recommended workaround is to explicitly re-add DSA key support to .ssh/config, which will eventually be dropped by a later OpenSSH ...
2
votes
0answers
47 views

MOTD not displayed after installing openssh from source

On Debian Wheezy the default openssh server package displays the motd from /etc/motd. When i compile it from source (openssh-6.0p1) it won't display the motd anymore after an ssh login. Configure ...