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
37 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
0answers
160 views

sshd in Ubuntu 16.04 - login takes very long

I've seen ssh logins take some seconds many times before in the past. I always found that inappropriate. After I reinstalled my workstations with Xubuntu 16.04, this effect became really disruptive. ...
0
votes
1answer
43 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 ...
1
vote
2answers
20 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 ...
0
votes
1answer
58 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 ...
127
votes
7answers
199k views

How do I change my username?

Some time ago when I installed Ubuntu I chose a rather stupid username for my account that I do not want to use anymore. How do I change this (including the name of my home directory, and the name ...
79
votes
7answers
331k views

Adding SSH Keys to authorized_keys

I have an Ubuntu server on Amazon EC2, that I use for development, and today I stupidly cleared everything out of my ~/.ssh/authorized_keys file. Luckily I have an SSH open, so I am still connected, ...
9
votes
3answers
63k views

How to copy file to another machine through terminal?

I have Ubuntu 10.04 running through VMPlayer. And I have another machine (Asus RT-N16 router). I am able to connect to the router with telnet and see its file system. How can I copy the file from the ...
0
votes
2answers
58 views

How do I connect to the server from a computer not in the same network? [closed]

I have a VirtualBox Ubuntu server in the office and I want to connect it from home. Ususally when I want to connect to the server within the LAN of the office I use the IP of the server to connect ...
1
vote
2answers
3k views

ssh connection closes after successful login

I am trying to run ssh on my computer so I can control it with my android phone. When I scan my local network with overlook fing at my phone I get that my computer is running ssh at port 22. So I try ...
0
votes
1answer
98 views

Passwordless and keyless SSH guest access

I am trying to set up a guest user that allows ssh access without a password AND without a keyfile. All my searches turns up people trying to set up password-less entry with a keyfile. This is not ...
-1
votes
1answer
28 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 ...
5
votes
3answers
7k views

Disable interactive SSH at user-level

I connect to a server I don't control via SSH. I use public key access and don't need to be able to connect with a keyboard-interactive password. I would like to disable keyboard-interactive access ...
151
votes
2answers
154k views

How do I retrieve the public key from a SSH private key?

A SSH private key as generated by ssh-keygen contains a public key part. How do I retrieve this public key from the private key? I've lost my public key and need to put the contents of this public key ...
0
votes
2answers
7k views

Unable to execute command start-all.sh in Hadoop

GUYS I'm using this tutorial How to install Hadoop? I mean the one made by Luis Alvarado in one of the comments .. So I'm on Ubuntu 13.10 64bit Hadoop version is 2.2.0 Actually I'm a total newbie ...
66
votes
3answers
74k views

Does ssh key need to be named id_rsa?

I have come across this problem a couple of times when creating build servers with keyed authentication. I was wondering if anyone else has experience this. I have a couple of keys for my current ...
21
votes
6answers
39k views

What terminal-based network speed tests are available?

I'm looking to find a way to test my internet speed at home through ssh. Does anyone know a terminal app that can give me calculations similar info to speedtest.net? It would also be really cool ...
1
vote
1answer
35 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 ...
0
votes
1answer
6k views

Cannot connect to university computer via ssh over a VPN connection to my uni. network?

I need to VPN for happen a ssh connection to my uni. server. Both computer powered by Ubuntu 13.10. I am able to establish VPN connection to the network but ssh connection does not repond and gives ...
1
vote
1answer
24 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 ...
1
vote
0answers
26 views

Agent admitted failure to sign using the key

After a fresh ubuntu install, it seems I can't use any bzr branch commands. I get the following error: Agent admitted failure to sign using the key. Permission denied (publickey). ...
1
vote
1answer
4k views

Permission problem with SFTP in FileZilla

Recently, we installed Ubuntu Server on our servers this is very new for us. However, we tried to setup a apache2 server which did work. But the problem is that we can't configure apache and other ...
1
vote
0answers
29 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
2answers
6k views

How to install software raid 0 on ubuntu 12.04 server with mdadm?

I need to install a software raid-0 array on a Ubuntu 12.04 server with mdadm through commandline (SSH). The drive setup is as follows: SDA = OS SSD SDB = HDD for raid 0 SDC = HDD for raid ...
0
votes
0answers
15 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 ...
47
votes
8answers
305k views

SSH connection problem with “Host key verification failed…” error

I can connect to another Ubuntu machine in my LAN via SSH. On both of then PC's I installed openssh-server but from another Ubuntu computer I can not connect to my PC via SSH and I got this error: ...
0
votes
2answers
10k views

SSH to network alias ssh_exchange_identification: read: Connection reset by peer

New install: Ubuntu 14.04.2 LTS (GNU/Linux 3.16.0-45-generic x86_64) I have no problem with SSH to the DHCP address .22, but when I try the alias address .80 the connection is reset by peer. I've ...
0
votes
0answers
19 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
3answers
11k views

How do I get SSH server to work with putty client?

I have an Ubuntu 12.04.01 desktop PC, 64-bit. It has openssh-server installed. When I SSH to the server from a linux box it works. But when I use PuTTY from my Windows 7 PC to connect then I just get ...
5
votes
2answers
44k views

SSH Permission denied (public key), but root ssh works

I'm trying to setup ssh access for a user account that I created with chef on a digital ocean ubuntu 12.04 server. I had the options set in digital ocean to automatically copy my mac's ssh key when ...
24
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 ...
0
votes
0answers
22 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
6k views

How do I set up SFTP file access logging for OpenSSH?

I have an SFTP setup using the built-in sftp-subsystem of OpenSSH with chrooted users. In the old days when I used to use FTP, I was able to see what files were accessed by users in the logs. How do ...
0
votes
2answers
5k views

Putty Login error through SSH (Network error: Connenction timeout)

I am trying to login into one(X) server using putty (port 22), it is showing Fatal Error. In Pop-up (Network error: Connection timed out). But when I am in different server(Y) on command prompt using ...
3
votes
3answers
82 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
20 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 ...
1
vote
1answer
51 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 ...
10
votes
2answers
17k views

“This account is currently not available” error when trying to ssh

An error occurs when I try to make SSH connection: $ ssh -p 22 www-data@x.x.x.x This account is currently not available
0
votes
1answer
32 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 ...
3
votes
1answer
59 views

Automating SSH login gives unresponsive remote-shell, dropping back to client-terminal (without errors)

I have a problem with the tool expect under Ubuntu 14.04 LTS. I want to automate ssh logins to some Sophos UTM Firewalls and evelate my rights directly after with "sudo su -" and the correct password. ...
1
vote
0answers
31 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
1answer
74 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: ...
98
votes
3answers
189k views

How do I configure a new Ubuntu installation to accept ssh connections?

I just installed Ubuntu. How do I set it up to allow me to ssh into it? Right now I get "ssh: connect to host x.x.x.x port 22: Operation timed out".
9
votes
1answer
77 views

How to ensure user separation on an old school shell server

I want to run an old school shell server for a couple of people, ie. one where users get ssh access so they can run software (their own or provided). My concern is appropriate separation between ...
0
votes
0answers
22 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 ...
1
vote
1answer
4k views

SSH: Permission denied, please try again. While tryng to connect to remote 12.04 server

I'm having quite the head ache because of this. The day before yesterday I rented a VPS at atlantic. They provided me with vnc and root's ssh credentials. I could only login through a VNC viewer ...
0
votes
0answers
9 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 ...
77
votes
11answers
79k views

How to harden an SSH server?

What measures can/should I take to make sure that security around my SSH server is absolutely impermeable? This will be community wiki from the start, so lets see what people do to secure their ...
0
votes
2answers
39 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
19 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 ...