Secure Shell (SSH) is a protocol primarily for encrypted shell connections. This tag is also used for questions about sshd and openssh, the two standard applications for using SSH.

learn more… | top users | synonyms (2)

1
vote
0answers
583 views

How to configure Centos 5.3 using OpenLDAP to store and serve SSH public keys?

I want to be able to manage all my users logins via OpenLDAP. I am using Centos 5.3, OpenSSH 4.3p2-42 and OpenLDAP 2.3.43. I have installed GOsa2. Is there a GOsa plugin to manage the SSH keys in ...
1
vote
0answers
333 views

multitail/ssh leaves processes hanging around after exit

I'm using multitail via SSH to filter log output on a number of servers like so: multitail -L "ssh foo.bar.com tail -n 0 -q -F /var/log/out.log | grep match" This works great, however when ...
1
vote
0answers
317 views

Ubuntu gitosis server denying all publickeys after chmod

I Recently installed gitweb onto our gitosis source code repo server.. (Ubuntu 10.04 LTS Server) Somewhere along the line i changed something i shouldn't have and whenever attempting to clone from ...
1
vote
0answers
368 views

ssh through a bastion machine works on someone else's desktop but not my own

I have to ssh into a bastion (jump) server in order to get to the final server. On the jump server, my .ssh/config says: Host * ForwardAgent yes My co-worker uses PuTTy and Pageant. When I use a ...
0
votes
0answers
19 views

Forcing server to server copy to use LAN and not WIFI and “Smart” SSH GUI utility?

I have a simple LAN setup consisting of 4 macs with the included ssh servers turned on (all on Mavericks/Yosemite) I regularly sort and move files between the ssh servers. I'm looking for a tool that ...
0
votes
0answers
8 views

AWS EC2 SSH port Connection refused

I made Ubuntu 14 LTS instance with: SSH 22 port Dropbear 222 port Webmin 10000 port Nginx 80 port. I made several restarts, stop and start, and every time I was able to login to console by SSH 22 ...
0
votes
0answers
16 views

Can the veeam FastSCP tool be pointed at any SSH server?

The FULL veeam backup suite has a "Linux Target" option where you can point the backups to a Linux server over SSH - but it really has to be a Linux server, and it has to have perl installed and sudo, ...
0
votes
0answers
16 views

Configure to enable login in a different shell pass through default shell in SSH

I would like to configure a SSH server in Linux that be enable to login a user in two different shells: one by default and one alternative. I have tried configuring SSH subsystem. I can configure ...
0
votes
0answers
19 views

debian slow login after username entry

I have searched for an answer, and found resources about changing the delay after an incorrect password entry for an SSH login, but not to my specific problem. My problem is that the delay is after I ...
0
votes
0answers
28 views

inconsistent behavior of files created by an archive / ssh / tar command

Working on a deploy script, I ran into issues that I cannot explain. We have a production server (Ubuntu server 10.04), a repository (Gitlab), and a development server (Ubuntu 14.04). I work on the ...
0
votes
0answers
10 views

ForceCommand vs Subsystem

Is there any particula reason why I should use ForceCommand internal-sftp instead of Subsystem sftp iternal-sftp and disabling the shell?
0
votes
0answers
47 views

Blocking SSH Brute force from a HAProxy LB

We're trying to grant access to an internal SSH server using a HAProxy setup on a public DMZ. This works as expected however connections into the server are originated from the HAProxy (tproxy won't ...
0
votes
0answers
43 views

ssh_exchange_identification: Connection closed by remote

after a few hours of asking google ( and a lot of serverfault pages ) i didnt found a answer. After arround 100 ssh login's the server answers : "ssh_exchange_identification: Connection closed by ...
0
votes
0answers
29 views

OpenVPN issues on VM with XenServer 6.2

Clients connecting via OpenVPN on VM server A, cannot connect to VM's on server B within XenServer 6.2 on same pool using SSH I have a pool of two servers using XenServer 6.2, server A and server B ...
0
votes
0answers
39 views

permission denied using a public key with Copssh on a windows 2003 server

I've a Windows 2003 SP2 server with CopSSH version 1.1.0.1 installed. I've a user set up for SFTP who is able to transfer files from two servers. I am trying to add the public keys he provided me so ...
0
votes
0answers
22 views

SSH connection closes when entering password for repository I try to clone using git

I have a private repository that I store on Bitbucket, that I would like to clone to my Debian server. While I am SSH connected to the server, normally I would run: git clone ...
0
votes
0answers
13 views

Generating an azure .pem file that has a passphrase?

So I've been trying to create a .pem file to securely access my server in Azure, but when I run this command in the terminal, which is from their help documents.. openssl req -x509 -nodes -days 365 ...
0
votes
0answers
71 views

Tunnel Server Traffic through VPN but keep SSH Access

I would like to tunnel the traffic on my Server through a VPN. The problem is that when I activate the VPN through openVpn I loose the connection to the server through SSH and have to restart the ...
0
votes
0answers
28 views

Google Cloud: Connection Refused upon reset/shutdown

I recently signed up with Google Cloud to host a small VM instance. I created a basic instance with Ubuntu Server 14.04 LTS as its OS, installed apache2, MySQL and Wordpress to it and worked on a ...
0
votes
0answers
31 views

Logging into an AWS EC2 instance from another machine in EC2

I have a few AWS EC2 instances that can SSH into each other. They are not in a VPC as this is an older AWS account and was active before VPC. One particular EC2 instance (zeta) is not able to SSH into ...
0
votes
0answers
35 views

Forcing a password change on OpenBSD

On OpenBSD 5.6 I need to provision a number of user accounts with default passwords. I would like users, upon their first SSH login, to be forced to change their passwords from the default. On CentOS ...
0
votes
0answers
26 views

Can OS X Server Wiki show Active Directory Files?

I have active directory (2008R2) and an OS X Server (Yosemite) setup. OSX Server recognises the Active Directory and when I SSH into it with an AD account I am able to see my home folder. Now my aim ...
0
votes
0answers
41 views

Forgot password in remote ubuntu

I have a remote server with Ubuntu. I have ssh key for it and can login to this machine from my computer without password. Now I like to sudo, but I forgot my password for it. How can I get or ...
0
votes
0answers
35 views

`ssh-add -l` doesn't always print key paths

Recently, at least as of openssh 6.7_p1, ssh-add -l stopped, in some circumstances, printing the path to some ssh keys loaded in the agent. For example: 13:41:23 me@n00:~ $ ssh-add -l 256 ...
0
votes
0answers
62 views

pam_mount not working when logging in from ssh or console

okay so i configured pam_mount on my centos 6 machine as i did on my centos 7 and 5 machines. But when i login locally or via ssh, pam_mount can't mount my home dir. when i login with a local user, ...
0
votes
0answers
41 views

CentOS - how to chroot sftp and have mysql as shell

I have a user who I would like to have sftp access to one folder only (chrooted). Also he logs in with ssh, I would like him to only have access to mysql. I am able to chroot the users sftp (by ...
0
votes
0answers
67 views

Executing a remote command over an SSH tunnel

I have created a reverse SSH tunnel from computerB to computerA. On computerA I have a script (r1on.sh) with the following content: #!/bin/bash echo 'r1on' > command.log /usr/bin/ssh -p2222 ...
0
votes
0answers
39 views

dying processes (going defunct)

I have a script that is using several ssh sessions to upload files to remote hosts. It has been working for years. For some reason recently it stopped working, because 2 of the processes die (they go ...
0
votes
0answers
135 views

SSH using Agent Forwarding with Windows Host OS, Vagrant Ubuntu Guest OS, and Keepass/Keeagent

Intent: To be able to deploy to lan-example.com from any dev environment; whether it be directly from the virtual OS, or any single-OS system, or even over the internet using ONE SSH key stored in ...
0
votes
0answers
33 views

HTTP Post over reverse SSH connection - data cut off

Here's a schema of the setup: Client --HTTP-Post--> SSH Server <--rSSH--> Camera An IP-Camera is behind a firewall / NAT and therefore opens a reverse SSH connection (tunnel) to a publicly ...
0
votes
0answers
109 views

Why can't I SSH to this AWS NAT instance in a public subnet?

For experimentation purposes, I’m trying to setup an AWS EC2 inside a VPC that has both public and private subnets as described in this tutorial. However, when I try to SSH in step #2, it fails ...
0
votes
0answers
39 views

How to use SSH to access file shares: Win2012->2012 from service

This relates to Win2012-R2 on both sides of the equation. Bitvise and others have shown how to do SMB over SSH, for example here: http://www.bitvise.com/file-sharing However, this has the downside ...
0
votes
0answers
38 views

Is rbash secure if user login and ssh passwords are disabled?

I've got a server that I want to use as an SSH gateway for remote and local port forwarding. I don't want arbitrary commands to be able to be executed on it, only my scripts. I keep reading about how ...
0
votes
0answers
186 views

Jenkins publish over ssh success to connect the server but failed put file

I have a problem that when I do build to my job, its cannot put my file on the server directory in console output i get the message "ERROR: Exception when publishing, exception message [Permission ...
0
votes
0answers
31 views

sharing writeable (gitolite) git repos as read-only over http

I have a number of repositories accessible thorugh SSH and managed via gitolite for writing. I would like to make them accessible read-only through a different URL over dumb HTTP (by symlinking the ...
0
votes
0answers
20 views

selinux-policy update prevents ssh into ec2. Now what?

I created a new EC2 instance using the official CentOS 7 (x86_64) HVM image. I ran: yum upgrade At: Running transaction Warning: RPMDB altered outside of yum. Updating : ...
0
votes
0answers
13 views

Permission Denied on authentication in sshwindows

I'm having trouble for authentication on my windows machine using OpenSSH with following this instructions However the result was not the same. Once I run the SSH using services permission was denied ...
0
votes
0answers
26 views

Public key authentication plus challenge authentication

I am trying to setup 2-phase authentication based on this guide, but instead of entering the password I would like public key to be involved. If PubkeyAuthentication yes in /etc/ssh/sshd_conf then 2 ...
0
votes
0answers
21 views

Convenient way to restart server inside vagrant

We have a webserver, that needs nginx and other configurations, so for development we use vagrant. vagrant ssh I want to easily [re]start it, so I use single line ssh commands. vagrant ssh -c "" ...
0
votes
0answers
29 views

Forward traffic to MySQL over two+ SSH hops

I am trying to get from my computer through a gateway VPS to the database VPS and leave a forward port open back to my computer so I can access MySQL. For example, using port 9999 on my machine I was ...
0
votes
0answers
40 views

Add ssh credentials from web interface

I'm currently trying to access a mercurial repository from a Jenkins Job. I've already added the ssh private key trough the Credentials plugin and configured the mercurial plugin to use it. The error ...
0
votes
0answers
46 views

Solaris SSH Server Log Destinaton IP Address

To stay compliant, it's required that my Solaris 10 SSH server log the destination IP address in addition to the existing port logging. Is it possible to add the destination IP address in the authlog? ...
0
votes
0answers
41 views

Multiple public RSA keys on server, sharing same SSH login details

At my company we use SSH to access a server in order to deploy projects through GIT. We share the same SSH login details to access the server. When I log in I always get prompted to enter the ...
0
votes
0answers
64 views

Why ssh tunnel cannot create in the virtualbox or qemu with force mode (-f)?

I try on the dedicated server root@debian:~# strace -e open -f sshpass -p guest ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null guest@198.51.100.11 -C -N -D 127.0.0.1:22220 -f [pid ...
0
votes
0answers
73 views

Azure java sdk : permission denied(public key) when trying to ssh to vm

I have created a virtual machine using this sdk: https://github.com/Azure/azure-sdk-for-java. While I can normally ssh to virtual machines created by hand, the ones created by code using this sdk ...
0
votes
0answers
614 views

(reverse-) ssh connection “time out during banner exchange”

I have set up a few 100 embedded boxes to contact HQ by opening up reverse ssh tunnels, each under a new port. This is mostly working fine, but today I encountered a problem with using the tunnel ...
0
votes
0answers
30 views

Enable root password on remote server

I'm playing around with ssh-with-rsa-key authorization instead of password authorization and because I'm not really clever I've locked password authorization for root(passwd -l root) on remote server. ...
0
votes
0answers
74 views

Lock Down Users on Cygwin SFTP Server

How do I lock down sftp users in Cygwin so that they can't read from random directories such as /etc. i set up local windows accounts for each sftp user on the machine. I've used /etc/fstab file to ...
0
votes
0answers
48 views

sshd with port forwarding left connections to localhost without counterparty process

After temporary tunnel setup from X.X.X.X , from where I ran ssh -R 1089:localhost:1089 for several days, I have noticed this. I wonder what processes is 2494/sshd connected to, as no counterparty ...
0
votes
0answers
97 views

Windows Git Linux Tools - Prevent SSH timeout in terminal

I installed Git and included the Linux tools. They rock, except for the SSH times out after five or ten minutes when I am running in the console. It just freezes the terminal until I hit a few ...