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

Issues with ssh and Ansible

When running an ansible task (with a script action), I'm getting this error message: stderr: OpenSSH_6.0p1 Debian-4+deb7u2, OpenSSL 1.0.1e 11 Feb 2013 debug1: Reading configuration data ...
2
votes
2answers
29 views

Google authenticator / SSH: multiple shared secrets per user & sharing of shared secrets over users

I would like to add Google's authenticator app to our SSH authentication toolchain, as described in this article However, it seems that the PAM module basically makes a hard link between "linux user" ...
0
votes
1answer
24 views

Fail to login to sudo user on VPS

VPS Supplier: DigitalOcean OS: Cent OS 7 Client: Mac OS X 10.10.3 bash Root I login as root and created a sudo user me. Then I configured the /etc/ssh/sshd_config as following: RSAAuthentication ...
0
votes
1answer
48 views

Can't log into AMI, assigning new keypairs doesn't work - how do I completely reset SSH?

Something bizarre happened to an Ubuntu EC2 instance of mine - while it used to have a keypair assigned for login that worked fine (created through the default EC2 console channels), the assigned ...
0
votes
0answers
19 views

how to get my kvm-nodes monitored by the opennebula-server

I just set up an OpenNebula server with the oned running. I also set up a kvm-node to deploy virtual machines on. When I tried to add the kvm-node to the OpenNebula server with onehost create ...
0
votes
0answers
22 views

Upgrading ssh6.9p1 on new AWS T2 Ubuntu instance locks me out [duplicate]

I'm trying to upgrade ssh on a default Amazon Ubuntu t2 micro instance, which uses ssh 6.6.1p1. In order to pass PCI compliance, ssh needs to report v6.7 or higher, otherwise Trustwave security scans ...
0
votes
1answer
42 views

Different values in bash and Zabbix WebUI

I would like to ask you for any hint regarding following issue. I'm using external scripts for checks in Zabbix 2.2. I try to develop some script which will get timestamp of certain file on remote ...
2
votes
2answers
25 views

How to configure pfsense to allow vpn clients to appear as if they are coming from the PFSense WAN?

I have a specific host I need to get to via ssh (call it 'work'). I have a static IP at my client location (call it 'client') to enable access to this remote 'work' box. The people at 'work' then ...
29
votes
2answers
971 views

Is there a security risk to disclosing your SSH known_hosts file?

I'm speaking at a conference next week about some software tools I've created. My laptop will be shown on a projector screen during this presentation. The presentation will be videotaped and posted ...
0
votes
1answer
25 views

lose connection with amazon ec2 VM

I lose connection with my Amazon EC2 VM. I think the reason is that I have configured the wrong route table rules, but is there any other way to login to the VM to see what actually happened? Using ...
6
votes
1answer
66 views

Forward SFTP user to chroot subdirectory after authentication

I've set up a SFTP server using OpenSSH, everything works fine and the users I created can connect. After authentication, the users find themselves directly inside /chroot, a directory they are not ...
1
vote
1answer
41 views

Make change to config files on multiple servers using SSH

Problem: I'm trying to disable SSH password auth for multiple servers. Which means I have to modify the sshd_config file. From #PasswordAuthentication yes to PasswordAuthentication no I really ...
1
vote
2answers
43 views

How to disable ssh access for user from any IP except the specified one?

I need to limit the access of a user so that they can only login from a specific IP. Any attempts to log in from a different location should fail. How can I do this?
1
vote
1answer
18 views

Debian, kill java by it's jar name?

Okay, I am going to be running two java application on the same VPS one will be running nearly all the time. The other one will not need to be. I am wondering if there is away to kill java based on ...
0
votes
1answer
25 views

SSH tunnel through two gateway servers

I am aware of questions already asked for a tunnel through one gateway server. However couldn't find anything on multiple gateway servers. How do I configure a ~/.ssh/config file which will allow me ...
1
vote
1answer
22 views

Is it a good idea to upload my private key to VPS / servers?

Saying if I am deploying my application to the server using git, and the repository needs authentication to be pulled, it will be very convenient if I just upload my private key there. However is it ...
0
votes
1answer
124 views

Unable to connect Google Compute Engine instance via SSH in browser

i am new to google cloud,i just deployed my first instance it was working fine till yesterday, i used last time to set email server using this tutorial email server, but now i am unable to connect ssh ...
0
votes
0answers
16 views

How to delete all data in a Cassandra

I'm looking for a way to delete all of data in cassandra using script shell who will be executed from rundeck job. thanks in advance
1
vote
2answers
19 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
57 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
57 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
65 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
28 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
34 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
25 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
54 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
17 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
35 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
31 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 ...
-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
2answers
63 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
57 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
55 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
28 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
54 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
65 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
42 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
53 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
37 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
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
91 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
43 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
29 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
49 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
31 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
25 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
22 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
51 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
77 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 ...