SSH, otherwise known as "Secure Shell", is a method for securely connecting to a remote computer.

learn more… | top users | synonyms (1)

2
votes
1answer
53 views

ssh-keygen -lf doesn't work in 16.04 LTS

When I run the command ssh-keygen -lf /etc/ssh/ssh_host_rsa_key it returns: 2048 SHA256 asdfgErgsf34GQERgfdGadsfsafgergfgadgfagjfaifgj root@Fre2 (RSA) Instead of a value such as: RSA key ...
3
votes
1answer
41 views

Escape username spaces in SCP

I've been playing around with SCP for a while, and I've been able to transfer files from one place to another. It all worked nicely until I needed to copy a file from Ubuntu to a Windows user who had ...
0
votes
0answers
40 views

Adding SSH to new user: Jailed (chrooted) SFTP user can authenticate, but is immediately exited [duplicate]

I'm having trouble creating a new user with some key permissions. I want this new user to do the following with "everything else" locked down: SSH tunnel to port 5432 (postgres) SFTP jailed to the ...
1
vote
1answer
66 views

Iptables rules slow down loggining in via SSH

I am trying to build some basic iptables rules for my VDS: iptables -A INPUT -p tcp --dport ssh -j ACCEPT iptables -A INPUT -p tcp --dport 80 -j ACCEPT iptables -A INPUT -p tcp --dport 443 -j ACCEPT ...
3
votes
2answers
85 views

Open folder GUI in remote machine

I have ssh connection with a remote machine (ssh username@server). But now I want to open a certain folder path/to/folder in a GUI environment. The following I've tried while being in username@server:/...
1
vote
1answer
34 views

How to setup transparent ssh when there are multiple servers

My desktop is Ubuntu. There is a host class with name my_host_machine, which includes several servers like: my_host_machine_1, my_host_machine001,my_host_machine__123, etc. It's uncertain which server ...
1
vote
0answers
66 views

ssh / scp / sftp slow. Transfers seems to be capped at ~64kb/s

Machine details: mediacenter@mediacenter-Aspire-R1600:~$ uname -a Linux mediacenter-Aspire-R1600 3.19.0-51-generic #58-Ubuntu SMP Fri Feb 26 21:22:26 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux ...
1
vote
2answers
82 views

Remote Desktop Linux to Linux

I'm a new user and recently I installed Debian Wheezy in PCs. I'm in charge of a computer center in a public school, and I need a software which control another ones. The trouble is I have been ...
0
votes
1answer
32 views

Question about bash script

I am using Ubuntu 16.04. I have written a basic bash file which automatically logs me into my SSH server. Is there a way to add a message which says "Connection failed" if SSH can't reach the server? ...
1
vote
0answers
20 views

Printing over ssh: “cat file | lpr” or “lpr file”

I am looking at how to print a file over ssh. Two websites (The Linux Documentation Project and Computer Hope) suggest the command "lpr" but both seem to suggest two different methods, with no obvious ...
0
votes
1answer
141 views

OpenSSH index out of bounds when trying to connect

I am trying to connect to a SSH server that is out of my control with the following command: ssh -v user@12.34.56.78 -p 12345 Previously, this command works on Ubuntu 14.04 with OpenSSH version 6.6....
0
votes
0answers
34 views

Access to host X11 from multiple containers (lxc) sharing the same GPU is limited to the last activated container

I have a server and 2 lxc containers sharing the GPU (nvidia gtx980 364.19) Vt7, Vt8 and Vt9 When trying to access the host X11 from any of the containers. It only works from the container that was ...
0
votes
1answer
199 views

ssh localhost issue on Ubuntu 16.04

I am trying to ssh to localhost, but it's asking for a password every time. What I tried: ssh localhost ssh-keygen -t dsa -P '' -f ~/.ssh/id_dsa cat ~/.ssh/id_dsa.pub >> ~/.ssh/...
1
vote
0answers
16 views

Jails user in your home

I have VPS with many users, but i need jails user in your home. Example: User1 access /home/user1/public_html User2 access /home/user2/public_html Both can use SSH, but may not have access to /...
1
vote
2answers
118 views

Run Shell Script inside tmux

Why after running tmux on a remote server via ssh, program works; but after detaching sessions, it returns 404? This is a Go(golang) program, a http server listening on a port, behind a nginx reverse ...
3
votes
0answers
33 views

I need a correct help for MariaDB SSL support

I have to make my MariaDB authentication a bit safer than default. I tried to set up SSL support for this, but found only an old howto here: How to enable MySQL SSL on Ubuntu I followed it, however ...
-1
votes
1answer
18 views

SECURE LAN for File Transfer, 3 machines, upload/download from any machine to any machine

I would like to be able to access 3 different Ubuntu based machines securely, both upload and download, all on the same LAN. I need either written resources or step-by step instructions to setup all ...
1
vote
0answers
99 views

ssh_exchange_identification: read: Connection reset by peer

I really do not know much about ssh. I only know how to type some commands to get into my machine in my office when I work from home. Today I got some updates on my Ubuntu 14.04 machine, a new kernel ...
1
vote
1answer
164 views

How can I resolve x11 problem with Putty if I have this error? PuTTY X11 proxy: Unsupported authorisation protocol

On my client PC I'm running Windows 10 and I have installed XMing and Xming Fonts. I am running Putty and I have configured it to enable X11 Forwarding. I have tried leaving the X display location ...
1
vote
0answers
34 views

Logging into WordPress using SSH

I've got a WordPress test server installed on the local system on Ubuntu Server 14.04. I want to use SSH rather than FTP to access the wordpress site, install plugins and so on. I've followed this ...
0
votes
0answers
10 views

Restricting users to their web directory [duplicate]

I need to setup SSH/SFTP user access for two separate accounts and have them access a specific web directory and not have access to the rest of the server. What I tried to no avail: I modified the /...
2
votes
2answers
155 views

sshpass broken since ubuntu 16.04

Since I upgraded to 16.04, the following command fails: sshpass -p password ssh user@host with the error: Could not create directory '/home/mylocaluser/.ssh'. (~/.ssh folder already exists). ...
0
votes
0answers
24 views

SSH bash 24: command not found

I am trying to setup cross compiling with Ubuntu vm and beaglebone black debian, after writing C++ script and sftp the file to the BBB I tried to SSH to the BBB. The error I get when i put the correct ...
0
votes
1answer
59 views

Setting DISPLAY=:0 has no effect to notify-send via ssh

I have ssh access to my flatmate's computer (Ubuntu 14.04). I want to send her a message via ssh, thus I use this command export DISPLAY=:0 && notify-send "sample message" The command exits ...
1
vote
2answers
55 views

CronJob to copy a directory on a remote server

I Need to create a Cronb that will run daily on my server and will ftp into a remote server with a username and password. It will copy a directory on that server and copy it onto a directory on my ...
1
vote
2answers
374 views

SSH from my Mac into Ubuntu: X forwarding not working correctly?

Running a Mac Pro, OS X El Capitan 10.11.4 With ATI Radeon Graphics card, and XQuartz v 2.7.9 I am able to run qdec and freeview perfectly fine on my machine. The problem comes when I attempt to SSH ...
1
vote
1answer
191 views

Ubuntu 16.04 ssh lag issues

really frustrating bug right now, that I cannot find the cause of. So I have a server on digitalocean that I serve my site on. but since switching from windows to Ubuntu 16.04 there has been random ...
3
votes
1answer
79 views

How to update Remote SSH Protocol for PCI compliance

I'm trying to update my linux server to the latest SSH (7.2) to comply with PCI. I successfully updated it locally but I can't work out how to update it remotely and the PCI check still fails. When ...
-1
votes
1answer
34 views

SSH Login With Security Question?

I Don't Know If This Is Possible. But Can i install anything or is possible to create any script which will be executet after i will login on my Ubuntu Server As Root?! An script with Ex, 3 security ...
1
vote
1answer
71 views

Cannot access Ubuntu server using SFTP. No writing perms?

I've opened an Ubuntu instance in EC2. I've installed Lamp environment and wanted to test it. I want to use SFTP to access it. In my security group, I've opened port 22 (SSH 0.0.0.0/0), it is the ...
1
vote
1answer
60 views

Error conection ssh after jail user of ssh-sftp

What I want to: I want to create a user to access to /var/www/laravel I create a user demo, I followed this tutorial https://support.rackspace.com/how-to/how-to-add-linux-user-with-document-root-...
6
votes
1answer
83 views

SSH - Reallocate Disk Space

I understand that this is a question that is asked quite often, but unfortunately most answers involve using a LiveCD which in this case isn't possible. I'm currently using a dedicated server running ...
1
vote
0answers
30 views

All users were deleted from the server

I restored the access using recovery, but something weird happened: all users, except root and ram were deleted from the server, could've been that system was compromised, but nothing else is touched ...
0
votes
0answers
33 views

x11vnc configuration with SSH

I have followed after those steps of setting up the x11vnc, Run the following to install: sudo apt-get install x11vnc sudo x11vnc -storepasswd **yourVNCpasswordHERE** /etc/x11vnc.pass sudo nano /lib/...
0
votes
1answer
79 views

How to only allow access to web server through SSH?

My goal is to have a web server on my PC (running Ubuntu 16.04) that only I can access through SSH so that even people on the same network couldn't access the lighttpd server. SSH has been set up ...
0
votes
0answers
25 views

FireFox, ssh tunnelling not working

I have Ubuntu 14.04 installed on a virtualbox vm. Set up ProxyCommand and it seems to work fine in order to connect my jumpbox before connecting to server1. So from localhost I connect to Jumpbox the ...
0
votes
0answers
46 views

Knockd not recognizing knocked ports Ubuntu Server

I've got a server with knockd running. When ports 7000, 8000, and 9000 are hit, knockd is supposed to insert a rule into my iptables firewall and allow the connection to reach a port (22). For some ...
3
votes
3answers
202 views

Cannot connect remotely using ssh

I have recently installed an ubuntu 16.04. I have installed ssh server and the sshd service is up and running. I have some other PCs in the same network (windows, mac, ubuntu 14.06) and I can ping ...
1
vote
0answers
37 views

How to set up X11 forwarding in byobu inside a LXC container

I currently SSH into a LXC container running in a Ubuntu host machine. I have managed to set up X11 forwarding from the container to my local machine but when I start byobu (inside the container) the ...
0
votes
1answer
44 views

How to connect via ssh and use gcc on target?

I would like to do two things automatically within a bash script: Connect via ssh to my target. Execute gcc. My script looks like this: ( echo "cd myfolder" echo "gcc -o mybin ...
1
vote
1answer
110 views

SSH connection timed out externally, but works internally

Recently I tried to set my Ubuntu 14.04 desktop computer (I will call it "computer A") as a ssh server so I could access it remotely from my laptop (I will call it "computer B"). I installed openssh-...
1
vote
0answers
52 views

Cant SSH to remote server trought VPN

Currently am running Ubuntu 16.04 with installed and configured CiscoAnyConnect VPN. When I connect to VPN, I can't ssh to remote servers. SSH is just standing and nothing is happening. I can ping ...
0
votes
0answers
45 views

Apache2.4 PHP 5.6 Ubuntu 15.10 No Input File Specified

I am running a VPS with Ubuntu 15.10 using Apache 2.4 as my web server and I am kind of new to servers and stuff but I am currently creating an API. I first did this on my localhost. This worked ...
0
votes
0answers
18 views

Can I use a UDP connection for the “Connect to server” option in file manager?

I work a lot on remote mashines and like to bookmark them in my file explorer using sftp://user@host/initial/dir syntax. In unstable networks, this connection keeps breaking off an I have to re-...
0
votes
2answers
53 views

How to expose ssh to the internet?

I run the search on google and ALL I can find is a bunch of nonsense about how dangerous it is to do this with only a password...followed with a link to the instructions on the ubuntu website for ...
0
votes
0answers
28 views

Check status progress on running rsync

I have started a rsync task via terminal on my local ubuntu machine to copy files from one local HDD to another local HDD with the command rsync -a --progress source destination. Hence I am able to ...
0
votes
1answer
121 views

Cannot SSH into server from one particular computer (connection closed/did not receive auth string)

I'm having trouble using ssh to access a server that I recently set up with 16.04, but only from a specific computer (my laptop). When I run ssh -vvv -p sshPort user@host, I get this output: ...
0
votes
0answers
26 views

Autossh fork after entering password

I have an SSH tunnel that I run with autossh to keep it going reliably. The only issue I have is that I have an encrypted private key which I use to connect. If I want to fork my process to the ...
25
votes
6answers
4k views

Personal computer hacked: How do I block this user from logging in again? How do I find out how they are logging in?

I am 99.9% sure that my system on my personal computer has been infiltrated. Allow me to first give my reasoning so the situation will be clear: Rough timeline of suspicious activity and subsequent ...
2
votes
1answer
134 views

Send ZFS snapshot to remote machine

Edit: This question originally focused on the issue of reversing the direction of the ssh connection on the transfer, but I came to realize that wasn't what was causing the problems I run into, so I ...