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

learn more… | top users | synonyms (2)

-1
votes
0answers
60 views

Can't login to root in Ubuntu using putty, but can from DigitalOcean web console?

This was working last night, yet this morning, it isn't. I'm trying to log into my root account to access my Ubuntu 14 VPS on DigitalOcean, yet, when I enter my correct password via putty connecting ...
2
votes
0answers
33 views

Daily sftp stops working, and weekly sshd fails and needs reinstall

My server has daily issues with its SFTP. Everyday I need to change the SFTP subsystem. Everyday it gets reset to: Subsystem sftp /usr/libexec/sftp-server While it has to be: Subsystem ...
-2
votes
0answers
8 views

Is it possible create a ssh jail with gcc and g++ access? 14.04 Ubunutu [migrated]

I would like to share server access with my computer science cohort and I wanted to know if its possible to create a ssh jail with gcc g++ access. What are best practices and how might you create ...
0
votes
1answer
66 views

FreeSSHD issue with home directory

I’m hoping someone here can help out. I have everything working and I can successfully login through Putty, but the directory is C:\Windows\System32 and I can’t type anything. It’s frozen. I can ...
3
votes
2answers
120 views

sshd is working but refuses connection

When I try to connect to my VPS, it sometimes refuses connection, sometimes doesn't without changing configurations. $ ssh vps -vvvv OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011 debug1: Reading ...
-1
votes
1answer
48 views

Can not install Net::SSH2 module Perl

I am getting the following log while trying to install Net::SSH2 module in my debian machine. I don have libssh2-dev installed but still Im getting this error. also it says "Couldn't find your C ...
0
votes
1answer
27 views

Why is permission denied during pssh?

I am trying to add an ssh public key to a bunch of servers authorized_keys file. My thought was to use pssh and a list of hosts. To test, I tried to pssh to one host: pssh -i -H root@host echo ...
0
votes
0answers
23 views

Information regarding netstat output

On netstat, I see my port 22 in connection with 122.225.97.99. Does this mean someone is accessing ssh .. OR is it just something related to ubuntu user@ubuntu:~$ netstat -ntu Active Internet ...
-1
votes
1answer
39 views

How to load sites from your own server as localhost (ssh tunnel trickery)

I want to load a site from my server as if I'm on the server as localhost. Because some areas are restricted to localhost on a purpose. Now normal ssh tunnel like ssh -L 8080:localhost:80 ...
-6
votes
1answer
38 views

How do I zip & download files on an ubuntu server? [closed]

I have gotten SSH access into an EC2 instance of Ubuntu. I want to zip an entire folder, and download it to my local machine. The folder is large - 2GB+. How do I do that?
1
vote
0answers
27 views

SSH Negotiation Failing To some sites

I use SSH extensively to administer a number of systems. Everything was working perfectly until a short while ago when I discovered I could not SSH into some servers (but others work perfectly). I ...
-1
votes
1answer
74 views

SSH failing to connect, No supported key exchange algorithms

There are numerous questions with the same title however none of the solutions apply to my issue. I get the following lines of error in my sshd log: Jan 6 21:57:55 <computer name> sshd[30103]: ...
2
votes
1answer
26 views

Alias unknown after SSH

$ grep alias ~/.bashrc # User specific aliases and functions . ~/.alias $ grep mydiff ~/.alias alias mydiff='diff --ignore-space-change --ignore-blank-lines --side-by-side --suppress-common-lines' $ ...
1
vote
2answers
42 views

How to set ssh tunnel properly so you can access site on the server as localhost

I've restricted some part of the sites just to localhost access for security reasons. In order to access them i would make a ssh tunnel like this ssh -L 8080:localhost:80 username@server.com and set ...
0
votes
1answer
25 views

Connection lost to VPS While using iptables by default policy as DROP for INPUT, OUTPUT, FORWARD

I'am using iptables in many server's but now stuck with this issue while using default Policy as DROP. Here is my rules which i have used in VPS, Tried many time's everything seems fine but VPS ...
0
votes
1answer
50 views

Bashrc function called ssh doesn't work

I created a function in my bashrc file so that when i ssh into something it automatically opens a tmux session. function ssht () { /usr/bin/ssh $@ -t 'tmux a || tmux || /bin/bash' } This ...
0
votes
1answer
19 views

Can we put condition in ChrootDirectory directive of Match Group in SFTP configuration?

I am using SFTP with active directory. After authenticating users I am redirecting all users to one directory that is upload2. But now I want redirect some users to one directory and some users to ...
-1
votes
1answer
49 views

Secure cloud to internal Mail setup using UUCP or something more modern

Some of our Linux servers are going to be moved out into a cloud. But the servers need to be able to email our users internally and are required to use our domain name as sender. The server cannot ...
-1
votes
0answers
47 views

Allowing root login, but denying any actual logins [migrated]

A friend told me a few months ago about an audit where he discovered root logins were enabled via SSH. This obviously ended up on the report, but when questioned the admin told him that he had set up ...
1
vote
1answer
17 views

gitolite git user asking for password with valid keys

My gitolite installation start to ask for password suddendly, I checked the /var/log/secure file and found this. sshd[9071]: User git not allowed because account is locked sshd[9072]: ...
0
votes
0answers
22 views

Public key authentication plus challenge authentication

I am trying to setup 2-phase authentication based on this guide, but instead of entering the password I would like public key to be involved. If PubkeyAuthentication yes in /etc/ssh/sshd_conf then 2 ...
0
votes
1answer
21 views

Is my private key safe if I use authenticaiton agent forwarding with the ssh -A option?

I love the option to connect to servers via SSH with the -A option, so I can use my private keys on the server. This lets me update git/svn repositories and connect to other servers without the need ...
0
votes
0answers
8 views

ls cannot display utf8 encoded file name correctly when ssh-ing to an OS X machine [migrated]

The problem I'm trying to resolve here is that, in the terminal of an ssh session to an OS X machine, the output of the ls command cannot display utf8 encoded Chinese characters in file names ...
0
votes
1answer
56 views

Ansible/Capistrano with fixed sudo command (“sudo su -”)

I have to administer some half-managed servers (monstly CentOS 6), where we are only allowed to login as a regular user, then do "sudo su -" and type the regular user password, and then run the ...
-1
votes
0answers
8 views

SSH Public Key Auth doesn't work under clean reinstall of OS X Yosemite [migrated]

After a clean reinstallation of my MacBook Pro with current Yosemite, the SSH login to all my servers using Public Key auth stopped working. Generating a new Public Key out of my Private Key and ...
-2
votes
0answers
20 views

ssh and ps crashed on centos server and mysql is broken [duplicate]

We have a web server that hosts our website. Yesterday mysql stopped working and when we tried to start it the service rised this error. ERROR 2002 (HY000): Can't connect to local MySQL server ...
1
vote
2answers
93 views

AWS EC2 timeout connecting via SSH

I've just started using Amazon's free trial, and followed the "Launch an Amazon EC2 Instance" guide to set up the t2.micro instance, but I'm having trouble connecting to it over SSH. I've set up the ...
1
vote
0answers
73 views

Login as domain user fails in Linux

Using pbis, joined a Linux (Ubuntu 14.04) node to the domain successfully. # /opt/pbis/bin/get-status LSA Server Status: Compiled daemon version: 8.2.1.2979 Packaged product version: 8.2.2979.68390 ...
-2
votes
0answers
12 views

How can I ssh into my Cloud 9 workspace? [migrated]

I would like to ssh into my cloud 9 workspace. I have set the default "ubuntu" user's password using sudo passwd ubuntu, although this gets reset every time I reload the ide. I found the workspace's ...
0
votes
0answers
5 views

SSH connection over internet works only for specific machines [migrated]

I have a WLAN with my laptop (kubuntu), a raspi (rasbmc) and a fritzbox 3370 as gateway. I can stablish a ssh connection from my laptop to the raspi when I use the local IP (192.168.X.Y). But if I try ...
1
vote
2answers
78 views

Sending automatic mail on ssh-login fails

I'm trying to let my server send me automatically an email on ssh-login. What I've done: Created a login-notify.sh file (user root, group root, chmod 755) and placed it inside /etc/ssh/ #!/bin/sh ...
3
votes
2answers
124 views

ssh redirect without using port forwarding

I am looking for a way to redirect an ssh connection from one host to another. When a user creates an ssh connection to host foo, I would like the server to return some response which causes the ssh ...
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
1answer
34 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 ...
1
vote
1answer
83 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
42 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
2answers
45 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?
13
votes
3answers
968 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 ...
2
votes
1answer
97 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
48 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 ...
-1
votes
2answers
51 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 ...
0
votes
0answers
16 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
1k 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
25 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
88 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
287 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 ...
2
votes
1answer
31 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
74 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
15 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?
7
votes
1answer
79 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 ...