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

ssh from Server to Client through PPTP tunnel

I was able to set up a small PPTP VPN with a Server and two clients. All machines run Ubuntu 14.04. The connection works great and is reliable. I can ping all machines from everywhere. Also HTTP ...
3
votes
1answer
23 views

How to show the host/configured/default ssh “configuration”?

According to my ssh_config file... Configuration data is parsed as follows: command line options user-specific file system-wide file With that said, (and yes, I know, I could ...
0
votes
0answers
16 views

Netstat showing multiple connections for on ssh login

I connect to my server via ssh. I am the only person who has access to connect to the server. After connecting via ssh, I run the following command: sudo netstat -tupn The output includes the ...
1
vote
0answers
12 views

HTTP connection to SOCKS

I have some HTTP proxies with different IPs, but I'd need SOCKS instead. Is it possible to broadcast these connections using a server in the middle resulting in 8080: X IP, 8081: Y IP, et cetera? Or ...
0
votes
0answers
9 views

scp causes all other traffic through router to stop? [migrated]

Not sure what I'm seeing here, but when I scp a file through a bastion host into an AWS EC2 server, all other traffic through my home router (Asus RT-AC66R) stops. The mac laptop doing the scp-ing ...
0
votes
0answers
10 views

Reversed ssh through httptunnel

I used ssh tunnels (via ssh -R ...) to connect machines in uncertain network environments to a central server from where I can establish ssh connections to them. This way I already use two ssh ...
-1
votes
0answers
30 views

Browser based SSH is not working [on hold]

In compute engine, the browser based SSH is not opening the shell. I have clicked on the SSH option under the VM instance of my project, and it keeps on retrying to open the shell. I am totally stuck ...
0
votes
1answer
27 views

Ansible synchronize hangs when executing inside ssh with delegate_to

The following task works fine when run directly from my machine. When I run it from a remote machine through SSH it hangs forever. This is the task: - name: deploy public directory ...
0
votes
1answer
31 views

Ansible, Vagrant, sudo and ssh-agent

So I've seen this question and added the Defaults env_keep+=SSH_AUTH_SOCK into my /etc/sudoers file but I am still unable to clone from github on my Vagrant box using sudo: true and sudo_user: ...
0
votes
2answers
21 views

Failed to start stunnel4 on Ubuntu 15.04

I get the following error starting stunnel4 service on Ubuntu 15.04: root@scw-d91ec7:~# service stunnel4 start Job for stunnel4.service failed. See "systemctl status stunnel4.service" and "journalctl ...
3
votes
3answers
255 views

How to SSH after remotely restarting Redhat and enter recovery mode

I need to enter recovery mode of my redhat box which is running remotely on a virtual machine. OS: RedHat 5 64-bit Enterprise Edition I am logged into the box using SSH. I can restart using the ...
1
vote
1answer
35 views

what does 'Logged in without disclosing public key - Intrusion?' mean?

I have set up a new debian vm and installed gitlab-ce. There is not really much more on the VM... Right from the beginning, the following msg started to show up in the auth.log: Mon 2015-08-24 ...
0
votes
1answer
26 views

Gitlab - “Server refused public-key signature despite accepting key” on a valid key

I need some help with keys. On my windows 7 machine I have created a pair of keys using Puttygen in order to connect to a private gitlab site. In the gitlab I've added my public key to my profile. ...
-4
votes
1answer
31 views

how can i install SSH, FTP, HTTP on my ubuntu server to access from my windows 10 [closed]

i want to install and configure SSH on my Ubuntu server and access this server from my windows 10 and also tell me how can i live this server with the world.
0
votes
2answers
13 views

What is the correct way to set up a VPN and then only allowing SSH from that VPN?

What is the correct way to set up a VPN and then only allowing SSH from that VPN? I want to set this up to remove my SSH from the open internet and only allow access via a dedicated VPN connection, ...
0
votes
0answers
7 views

Route SSH traffic based on domain with HAProxy [migrated]

I'm currently building my own little cluster at home and I'm trying to get SSH routing (load balancing) to work with HAProxy. I have figured out how to route HTTP traffic but I'm struggling with SSH. ...
1
vote
3answers
68 views

SSH and security guidelines

I'm trying to set-up an ubuntu server (14.04 LTS) following some security guidelines. One of these guidelines suggests to disable root user and create a new user that works as an administrator using ...
0
votes
0answers
17 views

How to communicate effectively over a jumphost?

My company uses a jumphost to get into a datacenter. For various reasons I want to use applications that communicate from my localhost, to ports on a machine or set of machines in that datacenter. ...
0
votes
1answer
18 views

Ubuntu production server access configuration recovery options

I have a cloud based server. I followed this guide to configure its security : http://www.rubytreesoftware.com/resources/securely-setup-ubuntu-1404-server The configuration of SSH is as follows: # ...
1
vote
1answer
20 views

How to add server's ECDSA to known hosts but have a chance to verify it?

Is there any way to add known ECDSA fingerprint to known_hosts without trying to log into server or force ssh to show the key and ask me for acceptance? When I'm trying to log-in for the first time, ...
-1
votes
1answer
21 views

Inbound SSH into VMWare Fusion 7 guest on OS X Host and Comcast Gateway [closed]

I'd like SSH into my OS X host, as well its VMWare Fusion 7 guests from an external network. The host and guests are on an internal network behind a Comcast Xfinity Arris TG862 gateway. Mac Host ...
1
vote
1answer
19 views

Copying ansible keypair public key to existing AWS instances

We have around 10 instances already running on AWS using my personal AWS keypair justin.pem. I am setting up an Ansible box, and generated a new AWS keypair called ansible.pem. I copied ansible.pem ...
0
votes
1answer
22 views

Pool of machines without authentication?

I am working on a cluster of linux machines. What I need is for authentication to not be needed between the machines in this cluster, but required from outside. I have considered the idea of setting ...
-4
votes
1answer
63 views

SSH broken due to chmod -R /* [duplicate]

I made a total mistake here. Anyway I ran chmod -R 777 /* and immediately regretted my decision. I had to boot into single user mode to and ran chmod -R 755 /etc/* in order to login to the server. ...
0
votes
1answer
28 views

VPC VPN SSH stalls at host verification

I have set up a VPN tunnel to our VPC on Amazon which consists of a public subnet with a couple machines, one NAT instance, and then several private subnets with an assortment of machines as well. I ...
-1
votes
2answers
43 views

“Software caused connection abort” after removing rule in iptables

I use Putty to connect to a Linux Red Hat machine on an AWS instance. My local computer is Windows 8. On the iptables I had to make a change and accidentally forgot to put back this default rule: -A ...
2
votes
2answers
31 views

Passwordless SSH Solaris->RHEL without ever prompting for password

I need make a script to SSH from a Solaris machine (A) to an RHEL machine (B) (actually it's Oracle Linux). Is it necessary to enter B's password at some point? I want to automate the process with ...
0
votes
1answer
36 views

How to set Cron Job to empty cached directory

I have plain Ubuntu based server, i want to set Cron job and it will empty my website cache directory in every 24 hours, due to massive records 'rm -rf ' not work, so manually i used 'find . -name '' ...
1
vote
0answers
15 views

How to enable SFTP error status in RHEL7.1?

Here is the problem that I am facing. I have a provisioning server which runs a perl script to upload and download certain files in a regular interval using sftp. The sftp command is executed in batch ...
0
votes
2answers
42 views

server1 & server2.. because w/same firm.. ssh connection shows private ip.. how to enforce public ip being using during ssh's?

server1 has a private and public ip. server2 has a private and public ip. generally.. if server1 to ssh to server2 .. server2 would recognize server1 by it's public ip. but because both servers are ...
0
votes
1answer
15 views

rdiff-backup with sudo on remote host: ListError Permission denied

I'm currently facing the following problem: I set up rdiff-backup on a backup machine running Ubuntu and would like to be able to backup my production machine running CentOS; My setup looks as ...
0
votes
0answers
25 views

Forward SSH to OpenVPN client via UFW

I have an Ubuntu 14 server that is running OpenVPN gateway and ufw. Let's call it Server A. I have an IP reservation for a permanently connected server (Server B). It always connects to OpenVPN and ...
0
votes
3answers
38 views

Connection refused on Ubuntu EC2 after EBS expansion

The problem After starting an Ubuntu 14.04 EC2 instance with expanded HD volumes, ssh-ing into it fails with Connection refused. The EBS expansion process One of my Ubuntu 14.04 EC2 machines was ...
2
votes
1answer
36 views

x2go passphrase prompt then authentication fail

Have read following post and although it had a similar title it wasn't the same problem: Able to connect by SSH, but not x2go From windows 7 client and windows 10 client at home to centOS6.7 remote ...
-1
votes
2answers
78 views

perform a full server backup using ssh centos [closed]

I have a dedicated server at hetzner and they told me the hard drives are broken and they must replace them with new ones. I MUST back up all my websites and databases, that is my life work! The ...
0
votes
0answers
30 views

Openshift: SSH key denied, even though they match

I am attempting to use the OpenShift RHC tool on a Windows machine to ssh into one of my applications. The public key associated with my OpenShift account matches my .\.ssh\id_rsa.pub and I've even ...
0
votes
2answers
69 views

why can't I ssh into my aws ec2 instance? Permission denied (publickey)

I created two ec2 instances, and was able to ssh into the first two fine. After creating the third, I get this error upon trying to ssh into any of them. This is what I'm running: ssh -v -i ...
-1
votes
2answers
54 views

turn the server on after rebooting

I have a server with CentOs 6.6 and I was trying to reboot it with the command reboot. It was taking forever and I thought the terminal in my mac froze and so I quitted the terminal app from my mac. ...
1
vote
2answers
30 views

Forwarding a ssh connection from one port to another

I have a box B (say on 1.2.3.4) which I can only ssh to from another box A. But a certain development tool on 192.168.0.1 only allows me to specify the host and port of a ssh server and not anything ...
0
votes
0answers
10 views

Connection to MS SQL Server instance through SSH SOCKS proxy fails

I use a local ssh socks proxy (localhost:7070) on my Linux Laptop to connect to my company's intranet over my company's Windows+cygwin laptop, which has intranet access: Linux --(ssh -N -D 7070 -p ...
1
vote
0answers
12 views

iptables rule limiting the number of connection in a broken pipe case

I am limiting the number of SSH connections using iptables but in case of, for example, a broken pipe (computer goes sleep mode, network problem, etc.) I am no longer able to reconnect. The rule I ...
0
votes
1answer
30 views

Rescue inaccessible VM without SSH in Google Cloud Platform

I made a mistake in the script of a service in my linux VM in Google Cloud Platform. Now the VM does not boot properly, and no ssh server starts. Is there any other way to rescue this instance and ...
0
votes
1answer
19 views

Ubuntu server console and SSH session freezes [closed]

I have Ubuntu server 14.04 installed on a virtual box VM and for some reason it has begun to freeze during login and after some commands. When I try to login from console it can hang for minutes after ...
0
votes
0answers
14 views

Bad protocol version identification 'POST /adminport/shutdownTopicRequest HTTP/1.1'

Aug 10 17:17:34 myhostname sshd[7081]: Bad protocol version identification 'POST /adminport/shutdownTopicRequest HTTP/1.1' from 85.20*.**.** port 60018 Aug 10 17:17:42 myhostname sshd[7082]: Bad ...
0
votes
0answers
65 views

Openshift: cannot connect to my app

I have two apps in openshift and until yesterday everthing worked well. Yesterday my page (Jboss cartidge) stop working and I cannot connect to this app using ssh. To the other app I can connect ...
0
votes
0answers
6 views

Odd syntax for ssh and bash to run command [migrated]

I'm pretty new to shell/bash scripting and I'm writing a script on OSX to automate some rather tedious efforts. I'm trying to run a portion of my script on a remote host using ssh. There's a common ...
2
votes
2answers
29 views

Linux: Detecting/thwarting system modification or use of single user mode

Working through a backup solution and could use some security assistance. Please see below. The process For our editing business, we have an offsite backup server that we update nightly using rsync ...
1
vote
1answer
25 views

unexpected SSH input_userauth_request: invalid user

We have a user that suddenly cannot log in via SSH on a Linux box. The error output in /var/log/secure is: Invalid user foo from xx.xx.xx.xx input_userauth_request: invalid user foo Some ...
0
votes
0answers
21 views

SSH works through part of a script but not another

We have a script that runs on server a and does alot of commands through ssh on server b. for some reason this stoped working on one system. I am not sure what to make of the ssh debug info getting ...
0
votes
1answer
14 views

forwarding connections from firewalled local machine to firewalled remote machine

I need to forward internet traffic from a local machine to a remote machine, routing traffic through an intermediary SSH server on the way. The remote machine is firewalled and running a SOCKS5 proxy ...