Secure Shell (SSH) is a protocol primarily for encrypted shell connections.

learn more… | top users | synonyms (2)

-1
votes
1answer
30 views

Create user account on many servers

I have a users.txt with the following content: ip1 user1 password1 ip2 user2 password2 .... ipN userN passwordN I want to create one user on each of these servers. I want to use this script on each ...
12
votes
6answers
42k views

How can I edit the welcome message when ssh start?

I have a vps for my website hosting. It is running a ubuntu server. Every time I logged in my server by ssh, it displays a lengthy welcome message in my terminal. Linux node61.buyvm.net ...
6
votes
2answers
419 views

Enable SSH shell access but disable SFTP access

I've searched for a viable answer to this question, and most of the answers include advice on why to not do it. However, here's the scenario, and what makes it necessary: I have a console app, and in ...
0
votes
0answers
48 views

ssh welcome message: has my workstation been hacked? [duplicate]

some days ago I accessed my workstation via ssh and I found this message: username@machine's password: ___________________________ , _ / \ / \ ,'_\ ...
0
votes
2answers
29 views

How to record ssh session and email them periodically?

Is there anyway to record all remote SSH client's activity on a linux machine and email them on a periodic basis?
2
votes
1answer
12 views

SSH key authentication using LDAP

In short: Would like a way to do SSH key authentication via LDAP. Problem: We use LDAP (slapd) for directory services and we've recently moved to using our own AMI for building instances. The ...
0
votes
1answer
967 views

Improper output in SSH session on OSX using FreeSSHd on Windows with cygwin bash/sh shell

I am testing out running an SSH server on a local Windows VM. I have installed FreeSSHd and set the command shell to "c:\cygwin\bin\sh --login -i" (bash as well) with "Use new console engine" ...
9
votes
1answer
157 views

SSH tunneling is faster than OpenVPN, could it be?

Logically, VPN should be faster than SSH for tunneling, because: It's running on UDP and not TCP (so no TCP over TCP) It has compression However, today I tested Redis replication over both ...
9
votes
2answers
920 views

SSH MOTD per user

I want to display banner (welcome message) for SSH users with a specific welcome message for each user.
1
vote
1answer
31 views

SSH from Windows to Jump Server to MySQL [on hold]

We have a MySQL instance running on a Linux machine and had to open a tunnel to access the server. This worked fine until admin decided to add a steppingstone / jump server. Now i can't seem to ...
0
votes
2answers
38 views

“Cannot open SSH Tunnel” on MySQL (corrected)

(help, patience and mercy... begginer lost haha) -Ok heres the deal, im trying to connect a EC2 Instance to MySQL throught SSH in MySQL Worckbrench -I set up the configurations this way SSH ...
-4
votes
0answers
19 views

Understanding the different IP's setup in my core server files- Confusion [on hold]

I am running CentOS 5 with BIND and httpd, using PuTTy to connect via SSH. I login to SSH with IP 200.100.107.187 and can access my server through a webbrowser also at that IP This IP is the one my ...
-4
votes
0answers
56 views

Creating zones and editing named.conf - Centos [on hold]

I am running CentOS, with bind(BIND 9.3.6-) installed, and accessing via SSH with PuTTy. My goal is to setup a nameserver for my domain d.org on my dedicated server 44.44.44.44 which also hosts the ...
0
votes
0answers
23 views

“Cannot open SSH Tunnel” on MySQL [on hold]

I have this problem: With this configuration:
0
votes
1answer
2k views

EC2 instance always ask me to enter passphrase for the pem during connection

The pem file is generated by AWS console I was able to connect using the EC2 remote web interface, using the same pem file The permission of pem is 600 already Error.. ssh -i ~/test.pem -v ...
0
votes
0answers
10 views

Convenient way to restart server inside vagrant

We have a webserver, that needs nginx and other configurations, so for development we use vagrant. vagrant ssh I want to easily [re]start it, so I use single line ssh commands. vagrant ssh -c "" ...
-1
votes
1answer
49 views

SSH login works but SFTP login doesn't

I already saw this thread, but it didn't answer my question because it has been left for dead. As the title says, when I log into my VPS with putty, everything works fine. But when connecting with ...
1
vote
1answer
16 views

indirect ssh, connection closed after a single command

I was trying to execute multiple commands through multiple ssh, basically: ssh -t host1 ssh -t host2 ssh -t host3 'cmd1; cmd2; cmd3' I want to execute all the commands on the end host (host3). But ...
3
votes
3answers
1k views

Most common account names used in ssh brute force attacks

Does anyone maintain lists of the most frequently guessed account names that are used by attackers brute-forcing ssh? For your amusement, from my main server's logs over the last month (43 313 failed ...
0
votes
0answers
15 views

SSH tunnel freezes and says “administratively prohibited” when a domain cannot be resolved [migrated]

So I am opening a SSH tunnel to a remote server to use it as proxy: ssh -D 10000 -N remote I use FireFox with FoxyProxy and it is working quite well. Except sometimes the tunnel freezes. A good ...
4
votes
1answer
35 views

How to detect or log interrupted uploads with OpenSSH SFTP server?

I have this problem where a customer of ours has been SFTP-ing truncated data. I'm not sure if the problem is on our end or his. I've enabled SFTP logging but it does not allow me to detect if an ...
2
votes
1answer
24 views

SSH Remote Forwarding with two hops

How can I make ports forwarded or proxied by ssh available to machines other than the local machine? e.g. machine A connecting to machine B (works) ssh -L8080:some-service:8080 user@machine-B ...
1
vote
0answers
46 views

OpenVAS 7 failing to SSH into a test server

My local machine is hosting a Kali VM. I am trying to run local security tests using the VM's OpenVAS 7 on a server running Ubuntu 12.04.5. When I run SSH Authorization Test I get the following ...
2
votes
1answer
165 views

SELinux remove or leave the old SSH port label?

I am following this (basic) security guide to change my Server's SSH port to something else. It says: $ semanage port -a -t ssh_port_t -p tcp 2345 #Change me ...which would add a new label on top ...
0
votes
1answer
13 views

Easy way to make domain.com/wp-admin/ for all sites on a server accessible only for localhost?

I have problems with attacks to those so thought best would be to limit the access for them only to locahost. But what will be the best (and easy) way to do that?
6
votes
2answers
1k views

MTU on server accidentally set to 0, can't ssh into it?

My server had some problem with the ssh and I couldn't upload files of size > 10 KB, as scp would hang during the copy. I found a solution for this problem here, and I was changing the MTU, when I ...
-1
votes
1answer
1k views

Gitlab unable to push via ssh [closed]

I just installed gitlab server on CentOS 6, but not able to push any changes to the repo via ssh. A simple ssh works though ssh -T git@git.med-access.net Welcome to GitLab 5.2, Anonymous! But when ...
0
votes
0answers
30 views

SSH issues: keyfile and host file not working as expected

When I login to server with a key ssh -i /home/me/.ssh/id_rsa server everything goes without glitch. The key is authorized on the server. However if I try to do same from a shell script, I get a ...
0
votes
0answers
323 views

ERROR: CVS Authentication failed: null

I have just install jenkins for the first time and setup a simple job that requires a cvs checkout and the run make. I have tried everything I could think of short of actually creating and setting up ...
5
votes
4answers
13k views

SSH issues: Read from socket failed: Connection reset by peer

I compiled OpenSSH_6.6p1 on one of our server. I am able login via SSH to the upgraded server. But I am not able to connect to other servers running OpenSSH_6.6p1 or OpenSSH_5.8 from this. While ...
-2
votes
2answers
35 views

Restrict SSH access to whitelist IP - what is stopping someone pretending to be from my IP? [closed]

I know I can whitelist a client IP for connecting to SSH on server and then Deny All other IPs. However, seeing as how the packet arriving at the server network interface must include the IP, what is ...
0
votes
0answers
20 views

Forward traffic to MySQL over two+ SSH hops

I am trying to get from my computer through a gateway VPS to the database VPS and leave a forward port open back to my computer so I can access MySQL. For example, using port 9999 on my machine I was ...
0
votes
1answer
40 views

Script to Push Files

Script to Push Files Hey Guys, Thanks for always being helpful, I have another issue that I need a little insight on how to fix. See the below script I have and the error I get. I don't understand ...
0
votes
0answers
17 views

Add ssh credentials from web interface

I'm currently trying to access a mercurial repository from a Jenkins Job. I've already added the ssh private key trough the Credentials plugin and configured the mercurial plugin to use it. The error ...
1
vote
1answer
174 views

Kerberized SSH Failed

I want to authenticate ssh login with Kerberos, however fail. The following is a snippet of ssh debug information with the command ssh -vvv localhost. debug3: Wrote 80 bytes for a total of 1125 ...
1
vote
1answer
27 views

SSH -i command not found

I want a run a script located on server 2 from server 1. I am running this command line on server 1: /home/user_x/keys.pem -t -t ec2-user@10.10.10.10 sudo ...
2
votes
2answers
434 views

Does Mac OS X Cache Private Keys for SSH?

I have SSH key-based authentication setup to connect to a remote server from my Macbook Air. The private key was originally stored in ~/.ssh/id_rsa, but I have since moved that file to a secure ...
1
vote
0answers
13 views

Nginx error on installing vestacp

I am trying to install vestacp on fresh dedicated server running ubuntu14.04 with nginx installed, however i have tried to remove this using... sudo apt-get remove nginx sudo apt-get purge nginx ...
-4
votes
2answers
25 views

How to run more than one connection on SSH port [closed]

This is a naive question, but I don't know the answer. I have forwarded port 22 on my router to point to my NAS. I also have a Hummingboard server which I'd also like to access through SSH. How can I ...
1
vote
2answers
1k views

SSH connection times out

Given: vm - a WinXPsp3 virtual machine hosted by a Win7sp1 physical machine alice is the user on vm srv - a Win2008R2sp1 server bob is the user on srv quake - a linux server mark is the user on ...
0
votes
2answers
47 views

start sshd with /usr/sbin/sshd in centos

I am new in linux but newest in Centos. using CentOS release 6.6 (Final) I can start ssh service via service sshd start and get this output Generating SSH2 RSA host key: ...
7
votes
7answers
19k views

ssh tunnel refusing connections with “channel 2: open failed”

All of a sudden (read: without changing any parameters) my netbsd virtualmachine started acting oddly. The symptoms concern ssh tunneling. From my laptop I launch: $ ssh -L 7000:localhost:7000 ...
1
vote
1answer
1k views

How do I install openssh v6.2 on Debian Squeeze?

I first tried the backports repository but 6.2 isn't in there. It's in the testing repository though, so I added the testing repository to /etc/apt/sources.list, did an apt-get update, then an ...
0
votes
1answer
916 views

X11 forwarding over ssh applications very slow to start

I have a server that is extremely slow (takes 3-5 minutes) at starting X11 applications over a forwarded X11 link. I have tried connecting to it with 2-3 different machines with different operating ...
2
votes
0answers
101 views

EC2 Ubuntu SSH Stops Working

I use about 15 EC2 instances to run some services. They are hosted on EC2 and run Ubuntu. Every once in a while the SSH stops working and the "Reachability Status" in the EC2 console shows that it is ...
0
votes
1answer
18 views

Restore root access CloudVPS Server

I have a VPS on CloudVPS that I used to access through SSH with RSA keys. The server is running Nginx. However, Coda 2 corrupted the folder holding the keys, making me unable to access my VPS. ...
0
votes
1answer
3k views

Able to connect by SSH, but not x2go

I am having trouble connecting to a remote server with X2GO using a DSA key. Connecting works fine over SSH, but when I try to connect with X2GO, it goes immediately to the username/password box and ...
-4
votes
0answers
20 views

How to upload local file to server through Linux terminal [migrated]

I am trying to upload local files to server by using Putty or SSH but not getting upload there. Is there any direct method to upload file from local to server from Linux terminal without using FTP ...
0
votes
3answers
56 views

Why ssh uses .ssh/id_rsa as a pubkeyauthentication?

When trying to ssh -v 'somehost' Authentications that can continue: publickey debug1: Next authentication method: publickey debug1: Offering RSA public key: /home/kaldown/.ssh/id_rsa debug1: ...
0
votes
0answers
33 views

auth.log indicates error with JSchExcpetion?

I have a fairly minimal setup server, and it doesn't allow password authentication, only using keys. And it definitely doesn't have Java installed. Normally I don't pay any attention to the thousands ...