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
5 views

Preparing dev environment over ssh

I'm trying to prepare dev environment on developer machines through SSH (cifs/nfs also can be used). The main structure looks like this: there is each unix machine with all required servers configured ...
0
votes
0answers
5 views

Jenkins, SonarQube and Subversion using SSH keys

I am trying to setup SonarQube to analyze our source code on every build. SonarQube recommends using their Sonar Runner for this purpose. I have tried this but it seems that after the SVN plugin was ...
0
votes
1answer
24 views

Strange SSH connection issue

I have a very strange issue SSHing into an Ubuntu server hosted at Amazon Web Services from one IP address. A few weeks back our ISP made some changes in the building we share with other businesses ...
1
vote
0answers
14 views

Is it possible to reverse ssh to a system behind a router via a third system if port forwarding is disabled on the middle system?

I want to access a workstation in my lab from my laptop in my hostel room. But I can't directly ssh to the machine as both my laptop (in my hostel) and the worstation are behind two different routers ...
1
vote
1answer
7 views

Icinga2 unidirectional remote clients

I'd like to monitor some hosts on which I can't allow an income connection. Is there a away to achieve that while using "Icinga 2 Client" or "by_ssh"? I can't find anything about that in the ...
1
vote
1answer
96 views

Check services running on the server and restart them if they have stopped? (python script)

I am trying to write a python script which shows me the services which are running on my server. The thing is that mongodb keeps going down on the server and each time it happens I have to manually ...
0
votes
0answers
35 views

ssh needs a restart before permitting remote access with rsa key

I can ssh between two machines using rsa keys. When both machines are rebooted. I can connect from Ubuntu 14.04 to Debian 7.8, VirtualBox, Win 8.1. However, I can not connect the other way without ...
0
votes
1answer
18 views

Unknown login noticed in Ubuntu process

I noticed these unknown established to my server. I traced the ip to Hongkong /China area. But I am not able to figure out what these connections are. I have change the root password and already ...
0
votes
0answers
13 views

Users can only connect to certain port (game server) when they accessed the server through ssh? [on hold]

I have the following setup: Debian 7 Wheezy (64bits) with Plesk 12 and 5 ip addresses. 1 main ip address, 4 extra ones. I created a user in plesk, allowed ssh for that user and assigned one of the 4 ...
0
votes
1answer
11 views

Enabling SSH multiplexing for a series of commands, then closing it

I'm trying to create multiplexed ssh connections for a series of commands that run in succession, then after the series of commands is finished, close the multiplex session. According to the ...
0
votes
0answers
11 views

Reset password for Azure virtual machine

I forgot my user account to log in to my Azure Virtual Machine. From the new portal I tried the option "Reset password" entering a new user and password. However, I get the notification: Failed to ...
0
votes
2answers
14 views

accessing a server via SSH through ilo - dumping information/current state

I'm having to frequently access servers via ilo - ssh only, no web interface. Am I meant to be able to bring a server back up through just this tool? Or utilize others like ipmtool to be able to do ...
0
votes
0answers
15 views

Failed to load module pk-gtk-module

I am running RHEL6 and I am sshing into a linux server. Every time I open gvim or emacs, I get this error $ gvim Gtk-Message: Failed to load module "pk-gtk-module": libpk-gtk-module.so: cannot open ...
-1
votes
0answers
14 views

RaspberryPI OpenVPN Client Not Forwarding to tun0 [on hold]

reposting from the RPI SO I found plenty of guides for how to run RPIs as OpenVPN servers, but I want to run it as a client. I have a OpenVPN server set up using the following guide here: ...
0
votes
0answers
26 views

SSH host-based authentication setup failed on Solaris 10

I wish to connect SSH from machine1 to machine2 without password. machine2 is using Solaris 10. I generate keypairs on machine1 using user user1 and transferred the public key to machine2 under user2. ...
-1
votes
1answer
15 views

Location for private key file for SFTP user

I would like to create a user account that can access web server files. I could set the home directory of this user to /var/www now, but the standard location for the authorized_keys file is in the ...
0
votes
2answers
35 views

Access my server through SSH with the domain (with Cloudflare)

I have this server (44.44.44.44, for instance) running a webserver. I have routed pollnote.com to the server to access my webserver. Everything works fine. To access the server, I added my Public Key ...
0
votes
1answer
18 views

Does Terraform Deal with “known_hosts” upon changing infrastructure? If so, how?

I'm very new to terraform so maybe this is not a great question. But I'm running through [this Amazon EC2 example] and at one point it tries to SSH to the machine, I assume to install nginx. This is ...
1
vote
1answer
23 views

git clone ssh syntax difference?

Setup There is a host (H1) running gitlab-ce git server within a docker container (C1). The host's OpenSSH server runs on port 22 and provides a host key keyH. The gitlab container provides its own ...
1
vote
3answers
472 views

Retrieve Private SSH Key [on hold]

How do i retrieve the private key so i can deploy to my server? (I'm trying to use the cloud66 deploy to your own server option, it asks for private key) running cat ~/.ssh/id_rsa on my local ...
0
votes
2answers
34 views

how to ssh from a vm to another vm that is on a different host

I have 2 CentOS computer in the same local area network. Both computers have their own virtual machines running CentOS. I would like to ssh from the virtual machine of 1 host to the virtual machine of ...
0
votes
1answer
11 views

Start ipsec tunnel from another machine

I have to monitor the IPsec tunnel on machine A which is behind a firewall F, where the OpenSwan sits on. From machine A, if the tunnel goes down, I would restart the tunnel on machine F. What I did ...
0
votes
1answer
99 views

CentOS How to upgrade openssh to 6.9 [on hold]

I have to upgrade openssh. I follow this page just instead the rpm 6.7 to 6.9 But When I run rpm -Uvh /root/rpmbuild/RPMS/x86_64/*.rpm I had problem : error: Failed dependencies: openssh ...
0
votes
1answer
18 views

sftp server chroot initial directory

I have configured an sftp server with chroot and it works fine, the only thing that is bothering me is the initial landing directory, since the sftp user does not have write permissions in the landing ...
4
votes
1answer
43 views

SSH connection refused/error message

I have a systems which has multiple users but only few selected users are allowed to login to the system at a given time through SSH (or otherwise). I am using "passwd -l/-u" command to lock and ...
2
votes
3answers
84 views

word wrap in ssh session not working with grep

When I ssh to my Linux servers and use grep like this: grep 'timeout exceeded' logfile | less word wrap does not work. However, if I use the same command but use less first, like this: less ...
3
votes
0answers
38 views

Openshift SSH permission denied through corporate proxy

am trying to connect local->cntlm->company proxy->rhcloud host. I have the keys uploaded to rhcloud and GitHub. With the current configuration with corkscrew i am able to connect to git via ssh. ...
0
votes
0answers
15 views

Git bash not recognizing anything config file parameters [migrated]

I have a hosting plan from the folks at HostGator. They allow SHH connections on port 2222. I'm using "Git Bash" on Windows to connect to HostGator via SSH. Works fine with this ssh -p 2222 ...
0
votes
0answers
17 views

Issue connecting with ssh into ubuntu server

We have a number of devices that use rsync to sync up files to the server. The rsync in turn uses ssh to make the connection. Since this morning the ssh connections through this channel are not ...
-1
votes
0answers
39 views

I can only access my wordpress site using IP address but not with domain

I uploaded a fresh copy of the latest wordpress 4.2.3 and uploaded it to a domain folder in /home/abc.com/public_html/ using Kloxo-MR file manager. After setting up the wp-config file and setting up ...
1
vote
1answer
30 views

OpenSSH server frozen, can't unfreeze using Escape Char in OpenSSH client

Connecting to Ubuntu Server 14.04.2 from a OpenSSH client in Xubuntu 15.04 I can't unfreeze the session which has timed out, I have tried the ~. escape character but the terminal won't even let me ...
0
votes
2answers
38 views

ssh user@localhost vs user@servername

I am working with 2 servers (Redhat enterprise 7). When i ssh both of them. One is showing user@localhost where the other is showing user@servername. I would expect to have both like user@servername ...
-2
votes
0answers
22 views

Strange issue with Mac OS X Server and Apache with SSH [closed]

I'm having a strange issue with my Mac mini server running Mac OS X 10.10.3 This box runs Apache HTTP 2.4, and runs several vhosts off of that. The issue I'm having after a recent update is that ...
0
votes
0answers
23 views

I accidentally installed whereami on my EC2 instance (ubuntu) now I can't ssh into machine

I misunderstood what this command does I believe. I thought it just told you the hostname, but apparently it tries to make changes to your networking configuration as well. Is there anything I can do ...
0
votes
0answers
26 views

Having trouble to connect sshd on CoreOS sometimes

I have 12 node of bare-metal CoreOS cluster (on SuperMicro Blade). Every nodes was installed with same image and cloud-config. (Stable 717.3.0) The problem is that I fail to connect sshd frequently, ...
0
votes
1answer
23 views

SSH user minimum permissions

I am working on an application which sshes into servers and gathers information about the server such as disk and memory usage. Another task it needs to do is get file size information of certain ...
0
votes
0answers
10 views

Unable to perform operations on files due to special characters / character encoding via SSH

Today I had a backup of my files restored onto a server which I am connecting to via SSH. It appears that some of the file names with Japanese characters were messed up and I am unable to perform any ...
0
votes
1answer
35 views

openssl on Ubuntu - no zlib

on my Debian machines when I enter openssl -V I see the zlib algorithm. On Ubuntu I do not have zlib support for openssl, so the SSH also not support zlib. Why is this? I tried several thing to get ...
0
votes
0answers
38 views

How to evaluate security risks of a git server installation

I need to evaluate the security risks of code being hosted on a virtual machine in a git repository. Its an area relatively new to me as a programmer. I want to setup the git repos, but I have to ...
0
votes
0answers
17 views

Why am I able to SSH locally and start Windows services, but unable to do the same remotely?

I have a Windows Server 2008 R2 virtual machine that is running Cygwin and SSH. I'm able to SSH using my id_dsa key by issuing command ssh svc@IP "hostname;whoami", which returns what I would expect. ...
1
vote
1answer
37 views

Host keeps asking for password when using SSH Keys with PuTTY for Windows

I'm using PuTTY for Windows to connect to dreamcompute-VPS(dreamhost). At dreamcompute panel, I created a private key and downloaded it, a .pem file. Using PuTTYgen, I converted this file to .ppk as ...
1
vote
0answers
68 views

Slow ssh login - Activation of org.freedesktop.login1 timed out

On one of my servers I've noticed really delay on SSH logins. Connecting using the ssh -vvv options the delay occurs at debug1: Entering interactive session. extract of connection: debug1: ...
0
votes
1answer
44 views

SFTP clients not respecting default UMASK permissions [duplicate]

Here's my situation: I'm setting up an Ubuntu 14.04 web server for a team to share. I'd like the team to have read/write access to everything inside var/www/html (same as CHMOD 775 on every file and ...
2
votes
1answer
22 views

AWS :: Ubuntu instance consistently denying my private keys

Sorry to ask this question again, as I know its been asked a crap load of times... I have been through a bunch of previous posts but have had no luck. Have tried everything... Steps: 1.) Launch ...
-3
votes
1answer
33 views

SSH with user root from 2 different stations both running passwd [closed]

A few days ago, we were connected to a xenserver through ssh (user root) from 2 different stations. And we tried passwd, and we changed the root password to 2 different passwords simultanously. And we ...
0
votes
0answers
29 views

Simple secure firewalld allowing only ssh?

I am upgrading to CentOS 7 and learning firewalld. When I set up a new server my default iptable config for best security was (I believe this is a pretty standard config): # IPv4 iptables -F ...
-1
votes
1answer
18 views

How do i mount root files from recovery mode

Hey can anyone tell how to mount my root files to edit sshd_config in recovery mode? im new to linux so can you give me step by step instructions? im using ubuntu as recovery mode. to edit files in ...
0
votes
1answer
22 views

Can't ssh after configuring sshd_config

I have configured my sshd configuration files to listen to ipv6 addresses, but forgot to uncomment ipv4 local addresses. Here is a snippet from my configuration file: AddressFamily any ListenAddress ...
0
votes
1answer
23 views

SSH login asks for password

This is the first time I'm trying to set up a VPS, so please bare with me. I've followed the steps of Digital Ocean to create a droplet. I'm using Cloud9IDE for the development of my app. The steps ...
0
votes
0answers
20 views

SSH asking passphrase every time when two users logged in with same pem key

Me and my colleage are connecting to the same instance using same pem file. Now when i run git fetch on a repo . It makes a ssh connection successfully without asking for the passphrase , but if my ...