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

learn more… | top users | synonyms (1)

1
vote
0answers
12 views

how to change desktop background in ubuntu desktop

I was using gnome desktop environment at the start but i switched to unity environment by install unity shell via this command sudo apt get install Ubuntu-desktop after this I have many issues like ...
1
vote
0answers
6 views

SSH to cluster under a VPN

My university requires that I connect to VPN, in order to connect to our cluster. I have, after a long struggle, managed to connect to the VPN using the FortiClient VPN command line interface. My ...
0
votes
2answers
8 views

SSHing into a Ubuntu VM instance

I have an Ubuntu VM instance running on my laptop. Both Host and VM run the same OS - Ubuntu 12.04. I tried to ssh from host like ssh username@<VM-IP> It tries for some time and then says ...
1
vote
1answer
9 views

What to do so that issue.net shows readable banner characters to chinese russian french ssh users

I set up my ssh server and added custom issue.net config. when loggin, it shows \320\237\320\264\321.... for characters other than ascii-7 Is it a client side issue or do I manage this at server ...
1
vote
0answers
14 views

How to access SSH [duplicate]

I need to access mysql database using command prompt. May i know the steps to access it using linux server. I tried to access using putty but i am getting error "Server Refused Our Key." Please let me ...
11
votes
5answers
13k views

Why ssh “password” prompt takes too long to appear?

When I try to connect ssh it takes too long (almost 2 minutes) to appear password prompt. Why does this happens?
6
votes
2answers
9k views

fork: Cannot allocate memory

I am frequently getting: fork: Cannot allocate memory when running commands over ssh. I have 4 GB of RAM and usually 2 GB free. This started happening since I upgraded to Ubuntu 11.10. I then need ...
2
votes
0answers
11 views

Amazon aws type keys generation

There is perfect security model when connecting to Amazon AWS instance. But I would like to be able to make such key my self for custom user. To be clear it will be user with git repository, but it ...
0
votes
2answers
43 views

Program that edits a file through ssh

OS: Ubuntu 12.04 I was wondering if there are programs which let you edit a file on a remote server through ssh. Basically what I'm looking for is the following: There is a remote AIX server that ...
0
votes
2answers
34 views

Accessing a remote file via ssh on Ubuntu 12.04 [duplicate]

I have a text file on one of my computers that is running 12.04. I was planning to use ssh to allow for another computer to read this text file. The issue is that the system that I am working with is ...
0
votes
1answer
48 views

root must be setuid root [duplicate]

I accidentally ran this command chmod -R 755 /usr/bin on my remote server [Ubuntu 12.04.3 LTS], and I don't have the root password. When I run sudo it gives me sudo: must be setuid root, This is the ...
0
votes
0answers
8 views

SCP push and SSH issues

I used to be able to SSH with the servers (CentOS release 6.4) local IP: 10.0.5.152 until an employ made some changes to our setup which also generated a new IP address on my machine, from ...
1
vote
0answers
11 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
45 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
18 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
7 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
32 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
237 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
61k 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
38 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
83 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
25 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
30 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
12 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
16 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
31 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
56 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
35 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
16k 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
16 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
19 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
54 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
16 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
58 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
43 views

rsnapshot bug with 14.04 - rsync not found error [on hold]

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 ...