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

What could cause SSH to reject a valid certificate until a reboot

I'm trying to track down a strange problem in my CoreOS on Azure provisioning script. If I use sshfs or rsync via ssh to copy files across and once its done ssh into the same box to execute a script ...
0
votes
2answers
6 views

Setting up emergency console access with xen

On Gandi (or other providers) you can activate an emergency console to your VM. It binds a SSH channel to a temporary IP and port. I have my own server running on xen. I would like to implement an ...
0
votes
0answers
19 views

Trouble figuring out a fail2ban log error message: “iptables -n -L INPUT | grep -q 'fail2ban-SSH[ \t]' returned 100”

Here is my jail.local rule for ssh: [ssh-iptables] enabled = true filter = sshd action = iptables[name=SSH, port=ssh, protocol=tcp] logpath = /var/log/messages maxretry = 5 Here is what my ...
2
votes
1answer
43 views

cannot login via ssh

Can not login to SLES server via ssh as user1. At the same time I can login as root user without any problem. Authentication method is password based. In /etc/ssh/sshd_config I have ...
0
votes
2answers
45 views

Connection established. Still ssh login issue to ubuntu server on ec2 instance

I am not able to login to my Server (ec2 instance). Before this I was able to login. No changes has been made to server or Security groups ! please help me out ! ashish@ashishk:~/MyScripts$ ...
0
votes
0answers
11 views

How ro pass Environment variable to Rundeck

I want to run a rundeck job. Would like to pass few environment variable from the node as well to the runDeck job during the run time. How to pass environment variable to rundeck? Thanks in advance
0
votes
0answers
12 views

How to setup web UI to view Master Spark Node from Host Machine

I think the solution is to port forward twice, but I am unable to ssh into the master (source) machine: How do I view the Spark web UI? I am following this tutorial: ...
0
votes
1answer
18 views

NPS and RHEL ssh configuration

We have setup windows NPS and RHEL radius client using pam_radius module from freeradius.org for ssh. But on a linux client I see the error pam_radius_auth: Got RADIUS response code 3 in ...
3
votes
1answer
44 views

How many SSH private key to setup for multiple servers?

The general process is to generate a pair of public and private keys and upload the public key to the server for SSH connection. Then, if I have to manage a large amount of servers, am I supposed to: ...
-1
votes
0answers
16 views

SSH gateway forward based on username [duplicate]

We want to use NAT to save public IP addresses. To gain ssh access to the virtual machine with an internal IP address we want to use an SSH gateway to forward sessions to the right server based on its ...
0
votes
2answers
29 views

OpenSSH: allow users with writeable HOME to use publick key authentication

On a local workstation I need to have a handful of users to be able to freely write in each other $HOME. I KNOW this is a security breach and, in the specific situation, I do not care at all. I have ...
2
votes
1answer
21 views

How configure environment variable with AcceptEnv

In /etc/ssh/sshd_config, there is an option called AcceptEnv that allows the ssh client to send environment variables. I need to be able to send a large number of environment variables, how can i do ...
1
vote
0answers
17 views

Complete full virtualmin setup from command line

I'm working on adding a feature to a suite of tools my clients use that will allow them to enter the API key of their DO account, and easily create DO droplets with Virtualmin on them, and setup and ...
-2
votes
0answers
21 views

How to run a script on a remote machine using the screen command and ssh? [migrated]

I'd like to run on a list of servers and run remotely a script while using screen. Manually, I'd do: screen -RD ./run_script and manually remotely I'd do: ssh root@server "screen -RD && ...
0
votes
0answers
10 views

kdc server and admin server and client in same machine [closed]

I am learning the kerberos using the MIT version in UBUNTU 14.04. I haven't any virtual machines and other pc's and I haven]t any domain name[realm name]. Now my goal is to check the functionality of ...
0
votes
2answers
51 views

SSH works but tunneling or SFTP doesn't. Why?

since 2014 I've got a server from SoYouStart, with Centos 7. It worked perfectly, but now I had to install again the OS. Now I'm configuring all the services to work again. I need to connect to the ...
0
votes
2answers
45 views

GNU screen detached cannot write to file after ssh logout

I am ssh-ing into a Linux cluster that uses an AFS home directory. I am trying to use GNU screen to run a long-running program in a detached screen. If I remain logged in the program executes ...
0
votes
1answer
43 views

Using SSH Keys with Kerberos

So there's an issue that we've been having at our company causing me to pull my hair out for the past week: We have hundreds of server boxes (a mix of CentOS6/7, if it matters) that need to quickly ...
0
votes
0answers
12 views

Keepalived multi route and ssh

We have configured keealived to have a floating 1.2.3.4 ip in another network range of the permanent ip 5.6.7.8 of the server. Floating Ip is working very well. Problem comes when Keepalived host (A) ...
-1
votes
0answers
32 views

SSH key not authorizing, log says 'possible break in attempt'

I've followed the steps that everyone says to set up ssh key authentication. Make the authorized_keys file on the server in .ssh from the .pub file, set permissions on the file and the directory. ...
-1
votes
0answers
19 views

SSH over WAN to server in VPN

I have a server that is sometimes in a VPN and sometimes isn't and a client that wants to ssh to it using a public domain name. When the server is in the VPN, sometimes the client can't ssh to it. ...
0
votes
1answer
39 views

Can't ssh, permission denied

I have created new user using useradd USER, but I can't SSH to the server and login with it. I already have another account to which I can SSH easily. Running ssh -v USER@domain.tld is returning this ...
-1
votes
0answers
17 views

Scheduled execution of files over network [closed]

forgive my ignorance as I'm a Mac user and have been out of the Windows world for a long time. I am looking for direction on how I might be able to achieve the following: Have a windows computer ...
0
votes
3answers
30 views

Amazon EC2 Security Group inbound rule with a dynamic IP

I'm looking for clarification on what I see as a potential problem with EC2 Security Groups. I'm setting up a Security Group for connecting to linux instances. I've created "anywhere" rules for HTTP ...
-4
votes
2answers
36 views

Using same port for http/ ssh on two ip's [closed]

How could use two diferent services using the same port on two diferent IP addresses? Example: IP 1 : 192.168.10.10: Service: Http Server Ports: 443 IP 2 : 192.168.10.11: Service: SSH Server ...
-2
votes
2answers
26 views

Cannot ping / ssh server after installing VirtualBox on CentOs 6.6 [closed]

Our server was running fine this morning. I installed VirtualBox and rebooted the server. Since rebooting the server I do not recieve a response when pinging the IP address and I cannot connect ...
-3
votes
1answer
32 views

Does Git has built-in SSH server? [closed]

I'm trying to setup Git's remote SSH server to access this using SSH, but I haven't found any info how to make this. So, does Git has built-in SSH tools to establish such connection to use this ...
0
votes
4answers
106 views

How can I limit SSH access to my own 2 IP addresses? [closed]

I am getting > 100 attempted logins per minute in my /var/log/auth.log so a quick search online on how to limit SSH access to a particular IP address lead me to a question and answer on here. However ...
-2
votes
1answer
20 views

ssh How dose a second user log in with a ssh key file?

I am new to VPS, I have linux centos 6 and have followed instructions here to get started. I have create ssh key for the root user from instructions here I have disabled root log in and created a ...
0
votes
0answers
64 views

Why can't my root user log in to ssh anymore?

I recently add a new system user and now my root user can no longer log in via ssh. My /etc/ssh/sshd_config is below. cat /etc/ssh/sshd_config # Package generated configuration file # See the ...
-2
votes
0answers
13 views

SSH Connect to hosts by using tunnel [migrated]

I want to ssh connect from host A to host C directly with one ssh command. +---+ +---+ +---+ | A | -> | B | -> | C | +---+ +---+ +---+ Host A already have keys ...
0
votes
0answers
21 views

Occasionally encounter error “ssh_exchange_identification: read: Connection reset by peer”

When I try to connect a remote Linux server using ssh, sometimes I got the error ssh_exchange_identification: read: Connection reset by peer while other times I can connect to the server successfully. ...
-6
votes
1answer
28 views

How to enable ssh access without public/private keys [closed]

I want to access my server via terminal like this: ssh username@host.com Password: (enters password) ... I have access to cpanel for this server. There is a section called "SSH access" where I can ...
0
votes
1answer
28 views

SSH: How to get the list of servers that autocomplete when hitting tab after ssh?

When I tab complete after typing ssh, I get a list of servers that I can ssh into. How would I get that same list with a single command? The pseudo command would be: ssh --list-available-servers ...
0
votes
0answers
27 views

Putty SSH connection timed out but OVH KVM ok

I dont know why today SSH give me an error but i can ping server and connect to SSH via OVH panel with KVM I reboot my server, load new config in putty, change try alive option to 200, change user ...
2
votes
2answers
29 views

Restrict access to .ssh folder over network shares

I run a small server running Ubuntu Server 14.04 and have just noticed that the .ssh folder in the users home directory is accessible via SMB and NFS. The SMB and NFS are both secured, however I ...
0
votes
0answers
16 views

After a while cannot ssh to amazon aws ec2 machine

I've read several similar questions, and checked my username is ubuntu as I'm running ubuntu instance, my pem key is 400 permissions and .ssh folder is .600 ssh -i ~/.ssh/my-key.pem ubuntu@myserver ...
0
votes
1answer
20 views

Add SSH user with sudo privilege, using pubkey

I need to add an account for someone to be able to SSH into my server and have sudo privileges. He has given me his pubkey which is something like: ssh-rsa AAAAfbfi40fdsfodudksjflksjdf..... ...
0
votes
2answers
27 views

Running ssh/netcat in the background

I'm trying to run a network throughput test between an OS X and a Linux host. I'd like to be able to measure the sustained throughput from the Linux host to the OS X host over time. I'd like to wrap ...
-1
votes
1answer
54 views

How can I find my Teamviewer ID via SSH? [duplicate]

So I tried doing this command root@server:~# teamviewer --info print version, status, id TeamViewer 10.0.35002 teamviewerd status teamviewerd start/running ...
0
votes
2answers
24 views

Is it possible to have two host identifications for a single domain?

I'm running a docker container that expects SSH traffic on port 22. The host machine also expects SSH traffic, but on port 2222. While SSH-ing on port 2222 works without hickups, my SSH client ...
1
vote
1answer
41 views

How to use two ssh daemons on one server using nginx or haproxy

First of all, I am new to haproxy and nginx. I would like to know if it is possible to use nginx or haproxy to receive all ssh requests, and forward them to two different ssh deamons based on the ...
0
votes
1answer
43 views

How can I route SSH traffic based on a subdomain? [duplicate]

I have a home server running ubuntu 10.04 that is running two services: an SSH service a dockerized gogs service I would like to essentially reverse-proxy incoming SSH connections based on the ...
-2
votes
1answer
14 views

Specify forwarded port to be used in authorized_keys

My Current SSH Situation. I got a few SSH Clients and an SSH Server. I deploy an autosshserver.script to the clients. The script creates a reverse SSH tunnel (plus it forwards port 22 and 5900) to ...
0
votes
0answers
28 views

fail2ban wont ban ssh from local hosts

I'm trying to configure fail2ban to block ssh from a local hosts. Fail2ban is install on CentOS 7 with firewall (Linux 3.10.0-229.4.2.el7.x86_64 x86_64 ). I have copied the jail.conf to jail.local i ...
-2
votes
1answer
29 views

Setup Tunnel via ssh and use it's Internet for VPN clients

I have two VPS centos 6.6 x64 with Public IP addresses example:1.1.1.1 and 2.2.2.2 VPS with 1.1.1.1 is a VPN server I Need to connect 1.1.1.1 via ssh to 2.2.2.2 so My VPN clients on 1.1.1.1 can Have ...
0
votes
1answer
22 views

ssh session stuck after some time of iddleness

I'm using fedora 19 and bash 4.2.53(1)-release If I leave an ssh connection opened for some minutes and don't do anything with it, the terminal get stuck. Here's netstat's output: tcp 0 ...
2
votes
3answers
71 views

Host key verification failed even though known_hosts is correct

I am running a Debian 7 Wheezy server and are having problems with connecting to other servers over SSH. This problem only occurs while running SSH through crontab, and not otherwise (logged in as the ...
7
votes
1answer
460 views

Copying SSH IDs between servers

Is it good practice to copy SSH IDs a la ssh-copy-id between remote servers in production, so that they can perform various SSH tasks with one another easier? In particular, I'm setting up SSH ...
-3
votes
1answer
28 views

which port is used on nagios check_nrpe, is the ssh connection is must between nagios master and client server [on hold]

I have configured the nagios master server and nagios client servers, still after lot of debugging i couldn't achieve the communication btwn these two :( i am getting this generic error CHECK_NRPE: ...