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

learn more… | top users | synonyms (2)

0
votes
0answers
3 views

Cannot SSH into Ubuntu VM from OS X Yosemite [migrated]

I am trying to ssh into a ubuntu 14.04 VM from osx but not able to do so. I have tried various suggestions from googling but none seems to work. Ping does not work either and returns the host ...
0
votes
0answers
38 views

Admin CMD through SSH [migrated]

I have freeSSHD set up on my Windows computer, and I use my Linux laptop to connect through SSH. However, when I SSH into my Windows computer and try to run a custom Batch script that requires admin ...
-1
votes
0answers
40 views

connection to Server via SSH [duplicate]

When I try to connect to my Ubuntu server via SSH (with Putty) I get the password prompt. After entering the password I get a long error message (pasted below) and then the connection is closed. ...
0
votes
1answer
29 views

Cannot Execute Certain Commands Over SSH

I have placed a batch file called "CrackHash.bat" in my system32 directory on my Windows computer acting as a server with freeSSHD installed. I can run this batch file just fine through the cmd window ...
0
votes
0answers
4 views

Cannot SSH to my Server, The connection Hangs [migrated]

Hello i have setup a home server which I am trying to access remotly. I did this a while back and untill recently I moved homes and ISP. I have port forwarded with my new ISP to be able to access the ...
1
vote
1answer
22 views

SSH over VPN connection

We have an AWS EC2 server that we've configured to be only accessible (via SSH) from within our office network. Obviously this isn't ideal for remote arrangements where someone has to connect to the ...
-1
votes
1answer
37 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 ...
0
votes
0answers
50 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
36 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?
12
votes
3answers
758 views
+50

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 ...
2
votes
1answer
20 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 ...
1
vote
1answer
31 views

SSH from Windows to Jump Server to MySQL [closed]

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
42 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 [closed]

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 ...
0
votes
0answers
23 views

“Cannot open SSH Tunnel” on MySQL [closed]

I have this problem: With this configuration:
0
votes
0answers
11 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 "" ...
9
votes
2answers
965 views

SSH MOTD per user

I want to display banner (welcome message) for SSH users with a specific welcome message for each user.
-4
votes
0answers
62 views

Creating zones and editing named.conf - Centos [closed]

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 ...
1
vote
1answer
19 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 ...
-1
votes
1answer
54 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 ...
11
votes
1answer
216 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 ...
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 ...
2
votes
1answer
25 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
52 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 ...
0
votes
1answer
14 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?
5
votes
1answer
60 views
+50

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 ...
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 ...
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 ...
-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
21 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
0answers
18 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 ...
0
votes
1answer
43 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 ...
1
vote
1answer
28 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 ...
1
vote
0answers
17 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 ...
0
votes
2answers
49 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: ...
0
votes
1answer
19 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. ...
-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
0answers
34 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 ...
0
votes
3answers
61 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
1answer
33 views

ssh key authentication - port other than 22 involved

I've noted this entry in auth.log Accepted publickey for myuser from ip_address port 51150 ssh2 That entry corresponds with my ssh-key-based login event. SSH is listening to default port - 22. ...
-1
votes
0answers
5 views

How to launch Chrome's Secure Shell ssh plugin via web link [migrated]

I am looking to figure out how to create a URL or link that executes a client side SSH session. I found the Chrome extension called 'Secure Shell', but the documentation is rather minimal. ...
0
votes
1answer
60 views

Can't ssh into Centos vm in Openstack

In Openstack, I can spawn ubuntu and fedora images and ssh into them. But when I am trying the same with Centos image (6.5 or 7), then my key is refused (or even ignored) and I am proposed to use ...
0
votes
0answers
27 views

Solaris SSH Server Log Destinaton IP Address

To stay compliant, it's required that my Solaris 10 SSH server log the destination IP address in addition to the existing port logging. Is it possible to add the destination IP address in the authlog? ...
0
votes
0answers
32 views

Ubuntu disables ssh login permanently after changing sshd_config [migrated]

So I have been trying to follow this guide and so far I have wasted ~5 hours launching Ubuntu 14.04 instances to try different setup every time, the issue is basically quite common but non of the ...
0
votes
0answers
21 views

Multiple public RSA keys on server, sharing same SSH login details

At my company we use SSH to access a server in order to deploy projects through GIT. We share the same SSH login details to access the server. When I log in I always get prompted to enter the ...
0
votes
1answer
39 views

Chrooting Shell Environment on debian wheezy

I created a chrooted user on a directory /home/jail, Inside my /home/jail are the bin,dev,etc,home,lib,lib64 and usr directories. /home/jail/ {bin,dev,etc,home,lib,lib64,usr} are all owned by ...
2
votes
2answers
82 views

Prevent SSH connection lost after logging into VPN on server machine

I encountered an issue that I can't deal with. When I'm logged onto an VPS over SSH and try to estabilish VPN connection on that VPS, the SSH connection between VPS and my machine get lost. I assume ...
-1
votes
0answers
15 views

Avahi SSH advertising - is there a way to force a different username?

I have several Raspberry Pi's scattered across my network performing various functions (security camera, running various network services, etc.) I would like to be able to advertise ssh logins using ...
0
votes
0answers
33 views

Why ssh tunnel cannot create in the virtualbox or qemu with force mode (-f)?

I try on the dedicated server root@debian:~# strace -e open -f sshpass -p guest ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null guest@198.51.100.11 -C -N -D 127.0.0.1:22220 -f [pid ...