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

learn more… | top users | synonyms (1)

0
votes
1answer
34 views

SSH connection in cronjob denied :“No supported authentication method”

I wanted to set up crontab to fetch resources from remote server to local server. Steps used as below In local server ssh-keygen with no passphrase copied the pubic key over to the server using ...
1
vote
1answer
36 views

SSH from Ubuntu to Lubuntu on a local network

I want to SSH from my laptop to a device on my local network running Lubuntu. I'm trying to use the method described in this answer. To get a list of Ubuntu: avahi-browse -tl _workstation._tcp ...
1
vote
1answer
40 views

SSH tunneling with relay and dynamic IPs

I am trying to achieve a vnc connection through ssh tunnel from a computer on a private network, and to another one on another private network, using a public server as relay. It can be graphically ...
2
votes
0answers
33 views

ksshaskpass asks for passphrase before kwallet

I have the kubuntu desktop 16.04. I use kwallet and ksshaskpass to unlock my ssh keys automatically on startup. kwallet is password protected too. My problem is that at system startup ksshaskpass ...
2
votes
2answers
95 views

sshfs giving “remote host has disconnected”

I am trying to mount an sftp connection into a folder using sshfs with the following command which throws an error. ~$ sshfs admin@example.com:/ testfo remote host has disconnected The same error ...
-1
votes
1answer
24 views

ssh or openssh not listed in the Ubuntu Software program

I am trying to install ssh on a fresh install of 16.04 LTS but it is not listed in Ubuntu Software program
2
votes
0answers
53 views

ssh ldap AuthorizedKeysCommand

I have mounted an LDAP server, I generate certificates for my users and I wanted to store certificates in ldap (certificates itself, not their directories), I found the following scheme used to store ...
0
votes
0answers
29 views

Issues while downloading all packages offline

I wanted to offline download all packages required to install openssh-server on Ubuntu 14.04 of my office PC which has several dependency mirrors blocked due to firewall policy. So I have installed ...
0
votes
1answer
41 views

SSH fails in Crontab after reboot

I am regularly running a shell script through Crontab that uses SSH to connect to a server. If I run that script manually it runs through successfully. Within the same session Crontab will ...
0
votes
0answers
28 views

How to configure Redsocks in Ubuntu?

I have a HTTP proxy connection in my college, I used Proxifier in windows to redirect all connections through my proxy ID ( username and password), How can I configure Redsocks to do the same?
1
vote
1answer
50 views

Port forwarding/bypass firewall

I have two servers located at two different places: Ubuntu Server (MySQL) Ubuntu Server (Tomcat) The problem here is that the Tomcat server cant send data to the mySQL server over port 7878 because ...
0
votes
0answers
24 views

Putty SSH, refused connection by guest mininet machine

I followed the main VM installation notes on the Mininet website, and the VM works totally fine. But When I tried to SSH into the VM, at first it timedout the connection. Then after searching on the ...
0
votes
0answers
33 views

SSH issue commands stucking

when I do ssh to my server and logged in successfully through terminal, the commands are stuking and taking longer to infinite time. e.g. ls,nano etc. I'm using ubuntu14.04 Terminal.
2
votes
1answer
37 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
32 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
28 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
56 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
64 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
25 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
47 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
61 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
27 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
16 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
92 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
29 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
112 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
87 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
28 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
75 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
90 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
32 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
139 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
18 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
49 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
36 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
233 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 ...
0
votes
1answer
129 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
59 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
30 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
59 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
41 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
82 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
23 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
64 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
23 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
29 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 ...