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

learn more… | top users | synonyms (1)

0
votes
0answers
2 views

juju bootstrap ssh no route

the problem is based on the context of VirtualBox, they are set on 3 virtual machines whose nodes are associated with a cluster controller, however when it completes the execution of "juju bootstrap" ...
2
votes
1answer
28 views

How to run backintime as a user

To allow users to run backintime. I am usually running backintime-kde on ubuntu in the following way: sudo su ssh-agent bash backintime-kde4 --config /root/.config/backintime/config --profile-id 1 ...
38
votes
9answers
22k 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 does to secure their ...
0
votes
0answers
8 views

xinit fails on Ubuntu Server 14.04 LTS

I need to run on my server application with GUI. The only way to connect to the server is via SSH. So what I have already have done is sudo apt-get install xosview xosview is simple program with ...
0
votes
0answers
15 views

when I ssh to an ubuntu machine, why is my shell /bin/sh and not /bin/bash?

I'm not exactly sure what is going on with these 2 machines I'm working on. I've inserted my debug log. maybe somebody knows what's going on based on this output. As far as I know i didn't do ...
1
vote
2answers
3k views

“PTY allocation request failed” error when trying to connect using SSH

I'm trying to log into Ubuntu desktop. I get the following error message: PTY allocation request failed What does it mean and how to connect to my desktop? This is the output with -v: debug1: ...
0
votes
0answers
6 views

All SFTP chroot access is read only?

These are the pertinent lines from my /etc/ssh/sshd_config Subsystem sftp internal-sftp Match Group sftp X11Forwarding no AllowTcpForwarding no ChrootDirectory %h ForceCommand internalsftp ...
-1
votes
0answers
17 views

What is the best auto ssh sync tool in ubuntu? [duplicate]

I search over google, found lot of tool for backup but i want a tool can ** automatically (every 30min) sync to server ** and update new files on server. all backup loots genarate unreadable ...
1
vote
1answer
30 views

How to Start Program After SSHD is Up and Running

I'm working on a project that requires I start a GUI before the login prompt. I had this working under 12.10, but today I migrated to 14.04 and it's breaking stuff. At this point I've configured Grub ...
0
votes
1answer
230 views

No motd displaying when logging into SSH

I recently upgraded my box from 13.04 to 13.10. After the upgrade, I ran into some issues with motd displaying twice (specifically, /etc/motd was being displayed after the contents of ...
35
votes
7answers
60k views

How to prevent “Write Failed: broken pipe” on SSH connection?

What can I do to configure SSH on both client and servers to prevent Write Failed: broken pipe errors? It often occurs if you sleep your client computer and resume later.
0
votes
2answers
33 views

Can not connect to Ubuntu 12.04 server using SSH

Yesterday I have posted question for creating FTP users and set access permission. Here is the URL. Create FTP users with limited access only to home directory Ubuntu 12.04 Based on Answer I have ...
3
votes
2answers
4k views

SSH problem after update

Setting up openssh-server (1:5.3p1-3ubuntu7) ... Creating SSH2 RSA key; this may take some time ... Creating SSH2 DSA key; this may take some time ... start: Job failed to start Can't initialize ssh, ...
0
votes
0answers
68 views

Black screen when accessing Ubuntu remote host via VNC and vino-server

I have a headless server and I am trying to setup a VNC connection in order to access it with a GUI. Now I have only root access via ssh. I have followed most of the instructions given here Enable ...
0
votes
1answer
22 views

Cant have passworldess ssh between 2 ec2 servers - Permission denied (publickey)

I created 2 aws ubuntu 12.04 servers I uploaded the id_rsa and id_rsa.pub files to both servers I ran the below on both servers chmod 600 id_rsa* eval `ssh-agent -s` ssh-add ~/.ssh/id_rsa What ...
0
votes
2answers
28 views

Bash script to enable / disable SSH

Im running ubuntu 14.04 LTS (no GUI) and im looking to write a bash script that does the following: Check to see if the ssh service is enabled or disabled If enabled, then disable, if ...
0
votes
1answer
10 views

How can I override the title of an X11 window running across an SSH tunnel?

I am SSH'ing into a server which has a copy of Firefox installed on it that I need to run. I can SSH in and run Firefox, and it will run remotely as expected. However, I need to frequently have two ...
0
votes
0answers
14 views

Mount NFS drive fails. Portmapper problem?

I have a server and node connected via ethernet. They both run Ubuntu 12.04. I share a file with nfs from the server but cannot mount it on the node. Here is some more info. node1@node1:~$ sudo ...
0
votes
2answers
4k 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 ...
7
votes
1answer
3k views

Saving SSH shell links in launcher like putty

I mean how can I bookmark a ssh root@ip command in the launcher so when I click on the icon and a shell is prompt to me asking credentials for the connection to the server shell?
0
votes
4answers
30 views

SSH remote command execute stays without disconnect when finished execute?

I am trying to build a script/command that will restart our Asterisk/Elastix service on our PBX. The script is basically using simple command with auto log-in public key that run from Ubuntu ...
9
votes
3answers
4k views

How can I install Ubuntu on a device without a screen nor a keyboard?

This is tricky. I would like to install Ubuntu on a machine that is intended to work as server, and for some reason I do not have an option to connect a screen to it. I expect this may be similar to ...
0
votes
0answers
9 views

Accessing a process after closing the consol

Basically I am using Ubuntu to run a minecraft server via a VPS and I’m using putty to control it. once I have started my server and everything is running, I’m in control of the server console, just ...
3
votes
3answers
4k views

Can't start, stop, or interface with SSH service

Having really bizarre behavior with ssh. I have the ssh-server running fine, configured ufw (firewall) fine as well. However, it seems I can't manage ssh as a service or through /etc/init.d/ssh. I ...
4
votes
0answers
55 views

how to install ubuntu on a computer without using a monitor? [duplicate]

I have a computer but with no available screen, how can I install Ubuntu server on it using a laptop I have, I can't format the hard drive in another computer and buying a new monitor is not an option ...
0
votes
1answer
32 views

permission denied for root@localhost for ssh connection

I just installed Ubuntu 14.04 and LAMP on that. Then, I wanted to configure my server, so tried out This tutorial. When I give the command: ssh root@localhost I get : Permission denied, please try ...
4
votes
2answers
3k 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 ...
2
votes
6answers
15k views

How to use sshpass?

I need to use sshpass to launch a remote command through SSH from a Java code. If I manually type in a console: ssh -p 22 user@ipaddress mplayer '/media/data/myFavouriteSong.mp3' works perfectly, ...
1
vote
1answer
15 views

How to prevent ssh login in Ubuntu 12.04 for users without home directory?

I have LDAP auth configuration and I want to prevent user to have access to a computer without home directory on it. Console login and kdm login work fine - user access is denied, but sshd permits to ...
0
votes
0answers
17 views

sftp error in Nautilus on 14.04

When attempting to use sftp in Nautlius, either via the location bar or the 'Connect to Server' menu, I get the following message: Don't have permission to access the requested location. When I ...
56
votes
5answers
54k 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) without ...
1
vote
1answer
18 views

How can I add a message after the “last login” shown when starting san ssh connection?

I can't find how to add a message after the "last login..." line on my Ubuntu 14.04. I can edit everything before using the files in /etc/update-motd.d/ and I can show/hide the last login message ...
1
vote
1answer
51 views

Unable to login via ssh to remote Ubuntu machine - connection refused

I have a very recently installed Ubuntu box and the only change I have made is change the hostname to mail and hosts file now says: 127.0.0.1 localhost 127.0.1.1 mail Anyway if I attempt ...
13
votes
4answers
2k views

How do you manage SSH keys?

I have a server with multiple users which each have multiple authorized SSH keys. Is there any effective way (command line utility?) to keep track of which key belongs to who and to quickly remove/add ...
-1
votes
0answers
14 views

How to add users in FileZilla for specific folders in Ubuntu?

Today i have a question for FileZilla in Ubuntu. How can i add a FileZilla's user (with different passwords) with ssh access, for a specific folder? Examples: The user "Admin", with the ...
1
vote
0answers
14 views

Server Upgrade an 'end-of-life' Server from ISO over SSH

I have read that it is possible to upgrade ubuntu from an ISO image, but would the same be possible from a remote location over SSH? After mounting the ISO, what command would I use to upgrade? I ask ...
2
votes
1answer
55 views

Permission denied error after SSH login

I am having Permission denied errors after logging with non root user (which has permissions to do "sudo -i" command). I get these errors: -bash: /bin/uname: Permission denied -bash: [: =: unary ...
-1
votes
1answer
38 views

rsnapshot bug with 14.04 - rsync not found error

Using rsnapshot with the +rsync_long_args=--rsync-path="sudo rsync" command fails with a rsync not found error. If I do a rsync only without using rsnapshot the command works find so it's not related ...
0
votes
2answers
12 views

Where is the hostfile located?

working on setting up a local development environment. Im pretty new to Linux. I am using Virtualbox for Ubuntu server inside of the Ubuntu Desktop I am running. After setting up port forwarding I am ...
0
votes
1answer
18 views

Problem with my ssh in ubuntu 14?

When I tried to connect from my Debian to my Ubuntu 14 appear this message below What is necessary to do for fix this error?
0
votes
1answer
20 views

SSH to user from external network says permission denied, works fine from internal network

Okay, I have Openstack installed on a server. I can SSH to the openstack server I have set port forwarding on that server I can ssh to the instance using private AND public(floating) IPs when done ...
13
votes
2answers
17k views

How can I allow SSH password authentication from only certain IP addresses?

I'd like to allow SSH password authentication from only a certain subnet. I see the option to disallow it globally in /etc/ssh/sshd_config: # Change to no to disable tunnelled clear text passwords ...
1
vote
1answer
4k views

host key verification failed from “connect to server” utility

I am able to use SSH from terminal but I am not able to use it from "connect to Server.." utility. it is showing the error in the dialog box as below: Cannot display location ...
4
votes
1answer
3k views

Cannot establish ssh connection to computer on local network

I've just (re)installed ubuntu 11.10 on my main pc, and the connection times out every time I try to ssh connect to my laptop (over the local network) to retrieve the files I backed up there. The ...
1
vote
2answers
223 views

Github ask for Username & password after Configure ssh?

I have Created SSH keygen and Just add the Public Key to My Github Account. When I am pushing My local Saved State to Github Repo.It ask for UserName & Password again. Any input would be ...
2
votes
1answer
28 views

scp error in ubuntu 12.04

When I'm connecting to server from my local desktop - it is connecting. When I'm using scp over port 22 - have timeout. I'm using following commands to connect via SSH: ssh -p 22 ...
0
votes
0answers
18 views

ubuntu vm on open nebula doesn't se internet connection

I have some problem with ubuntu and open nebula. I'm trying to setup one installation of ubuntu on open nebula. Start from this assumption: my machine as an i7 with 16 GB of ram and runs ubuntu ...
0
votes
1answer
46 views

suddenly can't SSH (connection refused), sshd service not recognized

I have Ubuntu running on an old desktop as a local file server, and it's been working fine for the last three months without me ever needing to touch it, however today I wanted to change some ...
5
votes
2answers
62 views

Cannot SSH from outside LAN despite port forwarding seems fine

Running Ubuntu 12.04, I've set up the OpenSSH server. I can connect from within LAN, but not from outside. I am using the same sshd_config file as on my other Ubuntu 12.04 machines (that sit in a ...
0
votes
0answers
24 views

Transfer file from Ubuntu to Android using SCP

I am on my Evo 3d rooted android device and using JuiceSSH to SSH into my Ubuntu 14.04. I want to transfer some files from Ubuntu to Android. Now after doing some research I found that good way to go ...