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

learn more… | top users | synonyms (1)

1
vote
1answer
15 views

Why ssh shows Desktop folder as a file?

I am using ssh to accessing a server and I could use scp to copy some files to server Desktop by: scp T.tar.gz username@serverIP:/home/username/Desktop but now I cannot access to server Desktop ...
0
votes
0answers
16 views

Teamviewer not working (no connection)

I installed teamviewer on an Ubuntu 14.04 machine. I downloaded from the Teamviewer homepage the 32-bit version and run: sudo dpkg -i teamviewer_linux.deb I usually use this machine directly (not ...
1
vote
0answers
12 views

Custom MOTD does not update until scripts finish

I recently got a small server and gave some friends accounts on it. They all have their own web pages in ~/public_html using lighttpd so I wrote a script to backup every user's public_html directory. ...
1
vote
1answer
14 views

Setting up user to download files with no shell access

I've created a user and set its shell to /usr/sbin/nologin. As expected, a PuTTY connection closes immediately after connection. When trying to get WinSCP to connect with the SFTP protocol, it says ...
0
votes
0answers
6 views

ssh error into different ubuntu account permission denied

I have two instances of ubuntu installed on my VirtualBox. First instance name is aks@aks-VirtualBox and the second instance name is erica@HBMaster. Now when I try to ssh from first instance to 2nd ...
0
votes
0answers
10 views

What is missing in my webserver ufw firewall configuration?

sudo ufw enable sudo ufw logging on sudo ufw allow proto tcp from any to any port 9999 sudo ufw allow proto udp from any to any port 9999 sudo ufw allow 80 sudo ufw app apache sudo ufw app OpenSSH ...
1
vote
1answer
17 views

Rsync behind a proxy

I'm working behind a proxy with credentials (username/password). The proxy ip is 10.302.34.02 on port 8080. My credentials are myusername / mypassword On the remote host, ssh is configured on port ...
1
vote
1answer
32 views

Available updates not shown when login to terminal Ubuntu 14.04

When I login to my server terminal over ssh I just see: Using username "username". Ubuntu 14.04.1 LTS Authenticating with public key "mykey" from agent Last login: Wed Oct 22 09:17:02 2014 from ...
0
votes
0answers
8 views

ck-list-sessions remains empty after a log in, loginctl works right

A while back (upgrade to 13.04 if I'm correct) the polkit-1 I had on a couple of computer stop working (right). Before, I could log in as admin via SSH and the X11 users could not log out (they would ...
0
votes
1answer
25 views

How may I do a SSH tunneling?

After reading an article about how cool can SSH be, I tried the solution given there about tunneling your connection. This is the very first time I try this. I've opened a terminal and typed: ssh ...
0
votes
1answer
13 views

SSH - buffer_get_ret: trying to get more bytes 4 than in buffer 0

I am trying to make a tunnel. When I run command ssh [user]@[host] -p [port] -L [localport]:[ip]:[port2] -N -vv -y -i /home/glab/.ssh/id_rsa the tunnel starts. Bu the problem is that it after ...
0
votes
1answer
15 views

network error: connection refused after killing one process I guess

I started ssh tunnel process with supervisor. Then I wanted to find out which is that process and to kill it. Did not know how to identify so killed one by one to find out does my tunnel still work. ...
0
votes
1answer
20 views

Login welcome message but no shell?

I've created a user on my Ubuntu machine so that some people can log in and set up SSH tunnels and also so they can download some files from the system. I don't want them to have shell access at all. ...
0
votes
1answer
17 views

Why does this scp command fail? (Host Key Verification failed)

Today I learned that I can execute simple commands without actually ssh'ing into the target host. For example, when I run this commmand ssh target_machine ls /tmp The machine will ask for my password ...
0
votes
0answers
14 views

How to create users using their public key?

I would like to create accounts on VPS running Ubuntu 14.04. And I want to use their RSA public keys, so do I need to copy the content of the file and paste it inside the /.ssh/authorized_keys file? ...
0
votes
0answers
26 views

How do I unlock my SSH keys on login in Ubuntu Server?

I'm making a new server that will pull backups from multiple sources on a schedule, so I'd like it to connect via SSH using a key. Setting this up in Ubuntu 14.04 Desktop is trivial, you write the ...
0
votes
0answers
11 views

Can't connect to SSH with new user

I created a new user, test. I have done the following to the account: I've given test sudo permission I've added test to AllowUsers in nano /etc/ssh/sshd_config I've generated a new SSH key pair, ...
1
vote
0answers
22 views

No MOTD on Ubuntu 14.04…?

I recently did a fresh install of Ubuntu 14.04. When I SSH, there is no MOTD (and yes, I have the appropriate command set in sshd_config). I read a bunch of tutorials about setting up MOTD, but I ...
0
votes
0answers
9 views

How to sync using port forwarding

I have my home computer A and a work computer C that I want to synchronise using unison. In the middle is a work computer B. A can communicate with B and B can communicate with C directly but A and C ...
0
votes
1answer
11 views

How do I detect if the current session is an SSH session via bash?

I would like to detect whether the current user session is from an SSH connection - that is, whether the user is physically sitting at the computer that hosts the current terminal or whether he is ...
0
votes
0answers
13 views

Can't start firefox on remote server without crashing X on local host

Running: Ubuntu 13.10 The situation is the following: I log in to the remote server with ssh -X user@remote and that is fine. However, once logged in, I type firefox it crashes the local X-session. ...
1
vote
1answer
37 views

SSH configuration problems with Ubuntu 14.04

I'm stumped, after reading online for a bit. I'm trying to enable agentforwarding on all hosts (I know this isn't recommended, but I know the servers I'll be touching from this box) and to disable ...
1
vote
1answer
36 views

Access Ubuntu SSH Server from Ubuntu Desktop

Hi I have a Ubuntu Server and I have configured public and private key on that server. Previously I was using Windows 7. So I just installed Putty and was accessing my Ubuntu Server from Windows 7 ...
3
votes
1answer
34 views
+50

Set user- or group-specific MOTD in SSH

I would like to disable or change the MOTD shown on SSH login on a per-group/per-user basis. This question on SuperUser has an answer stating that I can use Match blocks in sshd_config. However, man ...
0
votes
0answers
31 views

Directory / File Permissions [duplicate]

I want to start out by apologizing if this question has already been answered somewhere else and I just haven't run across it yet. I have been searching Ask Ubuntu as well as many other forums for ...
-1
votes
3answers
58 views

How access openssh-server with external IP address from outside the Local Area Network

How can I use my new openssh-server with the external IP address from outside the Local Area Network? The purpose is that an external computer administrator from outside the Local Area Network should ...
0
votes
1answer
18 views

Is there a way to limit traffic to just SSH?

I am going to be using my phone as a mobile hotspot so I can SSH from my laptop into my home server, as the phone is my only available data currently. Is there a way to limit the connections on the ...
0
votes
0answers
51 views

Cannot find google chrome terminal command

I'm connecting to my machine at the university using the ssh - X command. I want to launch google chrome from my terminal in order to get access to some website only available through my university's ...
1
vote
0answers
13 views

I cannot install openssh-server [duplicate]

When I go to install, I get this error: $ sudo apt-get install openssh-server The following packages have unmet dependencies: openssh-server : Recommends: ssh-import-id but it is not going to be ...
0
votes
0answers
21 views

SSHFS tutorial clarification in help.ubuntu.com/community/SSHFS

https://help.ubuntu.com/community/SSHFS describes how to use SSHFS. The description is somewhat ambiguous. I have tried several combinations of the permissions and ownerships of the directories ...
0
votes
0answers
8 views

How to connect to a local forwarded port from a third machine.

If I ssh connect into a server for VNC, for example, ssh root@IP -L6500:localhost:5901 I can connect to VNC just fine on that machine (locahost:6500). But if I have a phone on the local network, ...
0
votes
1answer
20 views

can I use scp in same network(wifi) to send file

while reading about file transter in linux I got: We can also move files securely using Secure Copy (scp) between two networked hosts. scp uses the SSH protocol for transferring data. To copy a local ...
1
vote
1answer
41 views

Trying to establish a remote SMB connection over SSH

Please be gentle with me I'm new to Ubuntu and have a basic network knowledge! I'm trying to establish an SMB share via a secure ssh connection from a windows PC to a remote Ubuntu machine. Some ...
0
votes
0answers
28 views

My ssh connecting time is slow. How can I correct this?

My connection was very slow while I was trying connect to a server. ssh -vvv username@server_ip OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014 debug1: Reading configuration data /etc/ssh/ssh_config ...
1
vote
0answers
27 views

Setting up a preferred network interface in linux

I need to set up the network interfaces of a linux box running Ubuntu Server. The box will be deployed in an industrial vehicle and will operate headless (i.e. no monitor, no keyboard/mouse). The ...
0
votes
0answers
20 views

Installing ubuntu server using Network Console

I have a bit of a weird situation, I have a laptop (an old Macbook 3,1) with a half broken screen. I want to install Ubuntu server on the computer but it turns out to be quite a difficult endeavour. ...
0
votes
1answer
19 views

Mount and external hard drive on an Amazon ec2 Ubuntu server

I'm using the amazon EC2 servers for the first time, so I'm sorry if i'm not understanding something obvious. I alredy created and connected to an EC2 instance with a ssh connection. I'm trying to ...
0
votes
0answers
11 views

If I turn on the Firewall I cannot connect to the internet

I run GUFW but even on any setting I cannot access the internet if its turned on. Why would this be? I also noticed in the "Listening" box that theres a lot of info going on which I don't understand ...
0
votes
2answers
26 views

SSH + Keys + noip

I'm hoping you guys can help. I've been searching for along time with reading the information on noip.com and couldn't figure out anything. I've set up an SSH server on a home computer. I changed ...
0
votes
0answers
44 views

Trouble ssh connecting with Putty from windows to ubuntu

Hello all I've been looking all over this form for answers but I just can't seem to get it right. First time ubuntu user, and linux user for that matter. I have openssh-client and openssh-server ...
0
votes
1answer
17 views

Restrict users to sftp access only

I want to jail a group of users with access only to a /var/www/mysitename.com pattern of directory via sftp alone. I do not want to provide shell access either.
0
votes
0answers
24 views

no longer able to log into ubuntu computers on lan using ssh and ssh clients

I have a mix of windows and ubuntu linux machines on my home network, and had been able to use ssh. Now when I try to login over my LAN to one of the linux machines using putty I get a "connection ...
1
vote
0answers
34 views

Ubuntu 12.04 server reboot issues after updates

I have a 12.04 LTS ubuntu server (I used the how to forge guide to setup apache, php, postfix, dovecot, bind and ISPConfig). I have noticed a somehow random reboot issue which I have eventually ...
0
votes
1answer
37 views

ssh-copy-id no identities found ubuntu error

I have two machines that were setup exactly the same with the same name and users and everything exactly the same. Each machine has two users with this names userA (userA@UserA) and userB ...
0
votes
1answer
16 views

SSH keyfiles not found after changing desktops

Recently I changed my desktop from Ubuntu default (Unity) desktop to Kubuntu desktop. What I cannot understand is why this causes errors with my SSH keyfile configuration. F.E. there is a "user" user ...
0
votes
0answers
44 views

Cannot SSH from Ubuntu, but can from Windows

Since the past few days, I cannot SSH to any server from Ubuntu! I am not sure why or how it began. When I try to SSH to any server, connection is established and I see the prompt for password. If I ...
0
votes
2answers
36 views

How to connect to my computer from a chromebook via SSH?

I have Ubuntu 14.04 on my desktop and I'd like to be able to remote into it when I'm on the road. How can I set up my desktop to allow me to connect remotely from my Chromebook via SSH? How long would ...
0
votes
0answers
19 views

Secure SSH Server from brute-force? [duplicate]

I'm just a newbie in Linux and recently got a VPS (Ubuntu 14.04 LTS Server). How can I secure its ssh server from brute-force attacks?
0
votes
0answers
13 views

Duplicating motd and more

Here's what it is currently like: Last login: Sun Oct 5 12:35:30 on ttys000 Corys-Mac-mini:~ cory-$ ssh cory@192.168.1.209 ////////////////////////////////////////////// ...
0
votes
0answers
36 views

14.04: How to ssh/scp as root with NO password prompting? [duplicate]

We upgraded from 12.04 to 14.04. We have a dozens of processes that perform automation tasks for us and we use root with ssh/scp. After the upgrade root couldn't ssh/scp into the servers at all. We ...