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)

0
votes
0answers
13 views

sshd honors /etc/ssh/sshd_config only if restarted with bash -x /etc/init.d/sshd restart

I've added the line "Port 110" in /etc/ssh/sshd_config just bellow the existing line "Port 22" and then did an /etc/init.d/sshd restart expecting to see sshd listening on both ports (22 and 110). ...
0
votes
0answers
11 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
14 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
7 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
32 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
18 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
25 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
28 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
18 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
32 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
27 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
28 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
37 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
57 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
30 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
81 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
22 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
73 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
36 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
34 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
114 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
24 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
17 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
31 views

Information regarding netstat output

On netstat, I see my port 22 in connection with 122.225.97.99. Does this mean someone is accessing ssh .. OR is it just something related to ubuntu user@ubuntu:~$ netstat -ntu Active Internet ...
0
votes
0answers
22 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
17 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
27 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
32 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
43 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
36 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
55 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
52 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
467 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
65 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
44 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
90 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 ...
0
votes
0answers
22 views

ssh server stops on ESXi 5.5 for no reason

I have a ESXi host that I have never been able to access via ssh. I have tried every tutorial I can find on enabling ssh via the command line and the vSphere client to no avail. I enable the ssh, ...
0
votes
0answers
67 views

Openshift for Play: The remote end hung up unexpectedly

I am trying to launch a play project in openshift. The first phase which was nearly 15% of the project was successfully completed and uploaded. So, I guess the initial configuration was okay. Now, ...
0
votes
0answers
22 views

Lost ssh-control on aws ec2 instance after Ubuntu update

During major update of Ubintu on my aws ec2 instance, system asked me if I want to disable ability to ssh under root user, as for most systems it's not used, but simplifies attacks. As by default I ...
0
votes
0answers
18 views

How to setup separate projectName/gitolite-admin.git configuration repositories with Gitolite?

I want to setup a Gitolite based installation for hosting git repositories in a small organization for a limited set of projects (100 projects at most, probably less than 30) with repositories under ...
0
votes
0answers
83 views

PAM: authentication error

I am trying to connect from Windows 7 Jenkins slave to a MacMini machine in one of the final build process of Jenkins build. This has been working for some time now till last nigh. There has been no ...
0
votes
0answers
58 views

Intermittent SSH problems with a specific server from a specific Wifi router

I've been ssh'ing into a specific server from my home office via Wifi and Time Warner Cable internet for years with no problem. In recent months, I started having problems, where I'd be unable to ...
0
votes
0answers
76 views

How to config PORT KNOCKING on CSF and access it by linux?

I'm trying to run port knocking work on a CSF on a small VPS, i setup this: 1 - the result of csf first test ok 2 - TCP_IN = "53,80" TCP_OUT = "53,80,113,443" UDP_IN = "53" UDP_OUT = "53,113,123" ...
0
votes
0answers
415 views

SSH : “Connection closed by” (debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY)

when I try to connect a specific server via ssh I get : Connection closed by 10.5.8.1 (more detail after) I saw much error similar to mine, but the workaround that seems works with other, don't work ...
0
votes
0answers
121 views

execute local command using ProxyCommand ssh

I am trying to execute local command using ssh and ProxyCommand in sys config but getting an error cat ssh_config Host ameyj-c Hostname x ProxyCommand bash -s "/home/abc/abc.sh" ssh ameyj-c ...
0
votes
0answers
137 views

Xserve running Mac OS X 10.6.8 has HTTP, SSH & ARD/VNC ports open, yet cannot connect?

The subject says it all. A client I have has a relatively ancient Xserve (2009 model I believe) that is running Mac OS X 10.6.8 Server. We’ve been able to remote into the system without issue in the ...
0
votes
0answers
66 views

CentOS 6.5 Bridged Networking Fails

I have a CentOS 6.5 Server that I wish to host VPS on, as well as installing SolusVM, to do this I need to bridge the network adapters for the Server and the VM's ( so the VM's can connect to the ...
0
votes
0answers
13 views

how to match ssh Host for resolved name

I have things like this in my .ssh/config: Host *.example.com ForwardX11 yes and this works fine with I invoke "ssh myfoo.example.com". I would like it if it worked as well when I invoke "ssh ...