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)

2
votes
1answer
73 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
3answers
109 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
57 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
46 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
30 views

NPS and RHEL ssh configuration [closed]

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
60 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: ...
0
votes
2answers
39 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
39 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 ...
0
votes
2answers
81 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
67 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
65 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
46 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) ...
0
votes
2answers
59 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 ...
0
votes
3answers
145 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 ...
-5
votes
2answers
48 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
59 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
41 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 ...
-3
votes
1answer
21 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
140 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 ...
0
votes
0answers
83 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
30 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
31 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
71 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
35 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
37 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
27 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
78 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
103 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
29 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
57 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
69 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
15 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
63 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
60 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
31 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
97 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
473 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
49 views

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

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: ...
0
votes
1answer
20 views

How to manage access to nodes in a cluster?

I am about to set up a server cluster for our company's web applications. At the beginning there will be 3 hardware servers in Proxmox HA setup in a remote datacenter running about 20-30 VMs all ...
0
votes
0answers
104 views

Can not ssh to openstack instance using floating Ip address?

I've setup openstack using http://docs.openstack.org/developer/devstack/guides/single-machine.html machine has single Ethernet Port Eth0 With ip address 192.168.1.22 and i've created instance which ...
1
vote
1answer
62 views

SSH fails often when contacting VM from remote machine

I have a Windows 8.1 Host in which I installed ubuntu server 15.05 in a virtual machine. I set an SSH server in the guest (ubuntu) and then I create a forwarding rule from the host port 2222 to the ...
1
vote
1answer
104 views

Dropbear equivalent to rsync with ssh proxy command

I am trying to guess the dropbear equivalent to this regular rsync command (using ssh with a proxy) rsync -avz --delete -e "ssh -o 'ProxyCommand ssh user@proxyhost exec nc %h %p 2>/dev/null'" ...
0
votes
1answer
22 views

SSH and SSHFS not completely connecting

I'm trying to connect between an Ubuntu and CentOS and reverse. From both sides I get black screen where I can press enter but nothing happens, not being asked for password. examples: SSH ...
1
vote
1answer
30 views

Adding address to known_hosts command line

I am having trouble adding an IP to known_hosts from command line. I have a mysql backup script that is supposed to upload files to an other server using sftp. The script works fine, but you have to ...
0
votes
0answers
60 views

kdm and ssh detecting different fully qualified domain name when using kerberos authentication

I'm attempting to setup Kerberos login support (Windows AD domain providing the kerberos) for Kubuntu 12.04 Linux workstations at the company I'm at. It's almost completely working but I can't get ...
0
votes
1answer
35 views

Port forwarding between 3 machines

I have 3 machines that are connected as a chain, A,B,C. A-->B-->C A is my machine, B is server, and C is other machine with some services and web server on it. Because of some issues I need ...
1
vote
1answer
34 views

VPN Tunnel Migration

I need to do a VPN tunnel migration from 1 Cisco Asa to another one on 20 remote routers. I wrote a little script that can automaticaly migrate the routers to the new ASA. However, when I run this ...
2
votes
1answer
204 views

A proper way to create a chrooted SSH on CentOS 7 [closed]

There are a lot of tutorials of how to create a chrooted SFTP, but I would like to use SSH, because it is much faster to simply wget, unzip, mysql and mysqldump than tossing around the FTP and ...
0
votes
1answer
29 views

Can you configure per-network SSH settings?

I'm talking about ssh_config(5). I wonder if you can define a config section or file based on the currently connected network. I'm thinking about that scenario where the corporate firewall blocks ...
0
votes
2answers
55 views

ssh connection from linux via windows to server

I have a linux computer and a windows computer which are connected to different networks. I would like to connect from my linux machine to a remote ssh server. From my linux computer I can access ...