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
260 views

is there any way to change ssh or vnc config using ftp?

I have a remote server which I can't access physically, for the last couple of weeks I could connect to it using both FTP protocol and VNC remote desktop. I changed the "Desktop Sharing" Program in ...
1
vote
0answers
116 views

SSH outside the local network

I have Ubuntu 14.04 LTS installed on a Toshiba Satellite L655. I've recently installed an SSH server on the machine and it works fine when connecting to it using 192.168.1.3 but when I try that using ...
0
votes
0answers
17 views

Start a local session, remotely [duplicate]

I dont want to enable auto login for various reasons. Is it possible to login to the desktop, from an ssh session, in order to then VNC into the desktop ? The issue is that I remotely turn on/off my ...
1
vote
4answers
635 views

Simplest way to set up new user with SSH access on remote host, given root access

I am writing a tutorial on setting up Ceph the hard way, shell all the way. I am not happy with the number of ssh commands it takes to connect to a remote host as root, create new user, then scp keys ...
0
votes
1answer
118 views

How to get rid of “The authenticity of host 'bazaar.launchpad.net (91.189.95.84)' can't be established.”

I have seen the response when ever I ssh to a server for the first time. After I give yes, it is never asked again. My question is, is there a way to solve this ? I mean I am expecting, from the very ...
1
vote
1answer
101 views

User Home directory encryption - files that must remain un-encrypted like authorized_keys

Before we get to far, my question is: If this is the wrong way, or I'm doing it wrong, what is the right way? Pursuant to this howto: https://help.ubuntu.com/community/EncryptedHome So I see this ...
1
vote
0answers
25 views

How can i enable user to have reboot privileges without sudo? [duplicate]

How can i enable user to have reboot privileges without sudo? Need to keep sudo password enabled. ssh user@server "sudo reboot" does not work because it requires a password to be entered. Want ...
0
votes
1answer
3k views

Unable to connect to my Ubuntu machine using Putty remotely?

I am new to Ubuntu, I have it installed on my computer (not on a virtual machine) and I am trying to connect to my Ubuntu machine remotely through PuTTY. I am getting the IP address of the Ubuntu ...
0
votes
1answer
510 views

How can I get fail2ban to stop banning my Filezilla SFTP?

When I started with an Ubuntu home server, fail2ban was a lifesaver - alerting me to multiple attempts at unauthorized SSH access to my server. Recently, after moving to a way off port, the only ...
2
votes
2answers
128 views

Is MaaS, juju, or the charm responsible for ssh-keygen on nodes?

My MaaS system works, enlists, recruits, commissions, issues warrants, does courts martial, deploys and destroys. juju seems to work fine: bootstraps locally, installs juju-gui, my charms get ...
1
vote
1answer
176 views

How to get notified (run script) on every SSH connection?

I'm able to run a script automatically every time I log into my machine via SSH by placing a command in the /etc/ssh/sshrc file. That works perfectly, however it's only triggered when I log in via ...
1
vote
2answers
39 views

Can I change the SSH deny/allow order?

I am trying some ssh tricks and stuck on a server. Is there a way to make ssh hosts.deny read before hosts.allow?
5
votes
2answers
240 views

How to generate randomart of anyfile?

We all know the ASCII randomart generated by ssh-keygen when creating or validating ssh public keys. We also know you can generate hashes of any file with sha1sum or md5sum. But, is it possible to ...
1
vote
4answers
2k views

SSH Ubuntu Touch

I want to SSH my new Ubuntu phone and tried this instruction but it doesn't work. I get "error: device not found" from every single command.
0
votes
1answer
103 views

Building openssh from source on ubuntu

Hi I'm building openssh from source. From source primarily because, I want to collect more logs than what openssh already writes in /var/log/auth.log file. In one of the c files of the source ...
1
vote
0answers
40 views

Using ssh as a proxy

I work remotely and I don't have access to some resources of my company from my local machine. Those resources can be accessed only from remote virtual machine. It's not very handy and I see two ...
5
votes
2answers
7k views

Error `could not load host key` when trying to recreate SSH host keys

I am trying to recreate the ssh-server host keys. I have at least two ways to do this: With dpkg-reconfigure dpkg-reconfigure openssh-server This works fine, but I cannot give the key length ...
0
votes
1answer
153 views

Why Does SSH Only Offer Two Pub Key Ciphers?

Perhaps askubuntu is not the best place for this question, however, this pertains to all linux systems, including Ubuntu. After the Snowden leaks, a lot of people have questioned the integrity of RSA ...
1
vote
2answers
488 views

SSH Public Keys not working anymore?

I have an Ubuntu Server and OS X and Windows (Cygwin) clients. A few days ago, I was able to successfully generate RSA keys on the client and copy them to the server with: ssh-copy-id <username&...
1
vote
0answers
243 views

$password with ssh chpasswd

I've a problem with "ssh chpasswd" .. I need to implement the "$password" of register.. Eg.. I've this code.. echo $ssh->exec("sudo sh -c 'echo $user:test | chpasswd'"); When the script is ...
1
vote
0answers
36 views

Master Account to Upload Files to sftp Server

All, I'm building an sftp server that will be used for clients to download sensitive information. Our Medical Records team needs a way to upload the files to the clients home directory. I'm ...
-1
votes
1answer
406 views

I can su root, but can not log in as root? [duplicate]

Usually, it is the other way around...so this might be the first from what I researched. lets say i log on to my server venus as willc86. When I su root, it lets me in. however, lets say I ssh venus -...
0
votes
1answer
99 views

SFTP Ubuntu 14.04 - Patient Records Download

I need to build out a server for Insurance Companies / lawyers to download patient records. I'm thinking that sftp is a good choice, but I would like some feedback. I have looked at vsftpd as well, ...
5
votes
1answer
10k views

Limit SFTP user access to specified directory

I have a Ubuntu 14.04 server installed with open ssh. I'd like to configure sftp for customers to be able to download files only. In other words, I put files in a directory that they are jailed to. ...
1
vote
0answers
108 views

Allowing Ubuntu user on ec2 to upload and manage files in public web folder

Just created a new ec2 ubuntu instance, and i'm forced to login as ubuntu rather root. While Its ok as of standard security practice but it creates additional problems that ubuntu user cannot upload ...
5
votes
1answer
268 views

Direct ssh tunnel through a reverse SSH tunnel

I have 3 PCs: A is behind a firewall and cannot be reached from outside the local network B is outside the A network, has a public DNS but cannot see A C is a laptop without public DNS that often ...
2
votes
1answer
951 views

Problems with kio sftp in Dolphin/Konqueror

I'm running Kubuntu 15.04 and having problems connecting via the kio slave for SFTP. I can access the remote server via ssh and the command line but not through dolphin/konqueror via SFTP. I receive ...
0
votes
2answers
70 views

fallback sshd_config script

Is there a way to run a script such as: cp /etc/ssh/sshd_config.orginal /etc/ssh/sshd_config reboot if my /etc/ssh/sshd_config fails? Why do I need this? Well sometimes when I edit the file it ...
1
vote
1answer
38 views

One of the computers on my home network does not get a local IP

My ethernet-connected ubuntu box and my wirelessly connected lap both have 192.168... addresses. I just plugged a second ubuntu box into the router, but it gets an 84.210... address. I can ssh to it ...
0
votes
1answer
359 views

Can't SSH between two servers

I recently purchased a new VPS to replace my old VPS and was in the process of using rsync to copy files over. Part way through rsync hung up and now it won't make a connection again it just times ...
8
votes
3answers
2k views

Rsync over SSH path with spaces does not work with quotes

I am able to successfully RSYNC over SSH as long as the paths do not have spaces in them. When the path does have spaces, it does not work. I have tried slashes, quotes, and double quotes. When I ...
1
vote
0answers
32 views

Leave remote graphical session open

I own a VPS with Ubuntu Server 14.04. I know I can keep processes running using screen, but that's true only for non-graphical processes How can I keep graphical processes alive (e.g. a browser) ...
1
vote
1answer
301 views

Accessing Git from Assembla using SSH+RSA

I have just created a repository on Assembla using a Git repository and I have followed their "Getting started with Git" page : I validated my git user.email and user.name. Since I'm also using the ...
1
vote
1answer
297 views

Data transfer between two remote servers linux (sftp)

I work remotely trough my Linux system. I have data on server A which can be accessed only through SFTP. The second server is an HPC cluster. I want to fetch data in my HPC cluster working directory ...
0
votes
1answer
56 views

Taking more time for svn ci/commit

I am doing a real time project. The base i.e source code size is very huge i.e more than 6GB. While i am trying to do svn commit these files, using ssh , it takes more than 1 or 2 hour time to get a ...
2
votes
2answers
880 views

Is it possible to ping a remote Linux machine without using ssh?

I am trying to poke/ping a remote Linux machine without using ssh. Is there any other utilities to do this? Addition: It would be quite a lot of helpful if poke can be done without providing the ...
1
vote
1answer
343 views

After moving home directory, ssh configuration is not working

I moved my home directory from /home/user to /media/newDrive/home/user. Everything seems to be working at first, except my ssh configuration. I was able to log into this machine from my laptop with ...
4
votes
1answer
435 views

Showing progress in whiptail while using sshpass and SCP

I'm writing a bash script that automates the building, copying and running of a golang app to a remote server. I'm using whiptail to let the user pick some options, enter in some details (e.g. SSH ...
0
votes
4answers
1k views

Shouldnt .bashrc run every time I log in?

Newish to Ubuntu so forgive if I word things oddly... All I really want to do is have my ls command changed to ls --color=always -ragX Got that solved... Alias will do nicely. Now, to have that run ...
0
votes
1answer
1k views

Messed up my SSH settings, what to do?

EDIT: everything works again now, I have not changed anything and no idea why. Maybe just a server error. I have a problem with my SSH login to a server at work. I always get the following error ...
0
votes
1answer
180 views

can't change file permissions of key file [duplicate]

I have a .pem file. The normal chmod [4/6]00 [key_name_here].pem command doesn't work. The permissions are stubbornly stuck at 444 or 644.
0
votes
1answer
98 views

Easing entry of sudo password for remote hosts?

I'm logging on to remote hosts via SSH to do server admin. The login uses a cert but I login as a normal user (ssh -p $PORT $USER@$HOST) and use sudo to run commands. It's a pain to have to enter the ...
16
votes
2answers
1k views

How to transfer the identity (SSH) of a machine to a new machine?

I am making a new Ubuntu machine as a server, which is supposed to replace an old one with older software. My question is: Is it possible to transfer/copy the credentials (in terms of SSH) of the ...
0
votes
1answer
174 views

Ubuntu Server is resetting folder permissions for .ssh on reboot

Every time I power cycle the machine the .ssh folder permissions are reset and become too open for ssh. I need to physically go to the machine and chmod 0700 ~/.ssh before I can ssh in (otherwise ...
1
vote
0answers
146 views

OpenSSH chroot breaks ssh and ftp

I'm trying to set up a webserver with a restricted sftp connection. I've googled and followed several walkthoughs that all appear to be pretty much the same thing. Here are my steps: Fresh install ...
0
votes
1answer
83 views

OpenSSH defaults (sshd_config) on root server

So while trying to set up an sftp user I apparently broke the sshd_config. Since the moment I changed it I can't connect via SSH and FTP anymore: Connection refused. My server hoster provides a ...
1
vote
0answers
119 views

Initramfs suddenly speaks IPv6 but no SSH login

I have been running a configuration with an encrypted root partition and network unlock via Dropbear in initramfs for some time on my Utopic Xubuntu Mediacenter. Since I am actively using IPv6 to ...
3
votes
2answers
340 views

Can't SSH devices within sub net

I have three computers set up like this: But I am having issues understanding how to setup the /etc/network/interfaces for each device so that they can all access the internet. I have tried this: ...
0
votes
1answer
29 views

Have ssh try a LAN IP before the internet address

I have a home server connected to my local LAN and the internet. Say its LAN IP is 192.169.0.10 and it has an internet address of awesomeserver.no-ip.org (DNS alias). I access it regularly ...
1
vote
1answer
234 views

How to edit /etc/apt/sources.list using putty in a VPS setup [duplicate]

I'm having trouble doing this. How do I edit it? Basically, the VPS is using 11.04 which is, end of life and I'm trying to upgrade to the latest long term release, but I am following the instructions ...