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

learn more… | top users | synonyms (1)

3
votes
2answers
227 views

Persistent SSH Connection

I use this command to make an SSH tunnel to a remote server. ssh -D localproxy:9999 -C tcx0@111.222.333.444 I also made a shell script using expect command to auto process entire process with also ...
1
vote
0answers
96 views

Why can't I connect to my localhost port from a remote computer?

I'm using link-grammar server to convert sentences into semantic graphs. It provides an API though a port to do the above process. It's configured to works through port 9000 of localhost. I used to ...
1
vote
3answers
144 views

SSH connection refused from specific location only

Me and my girlfriend share a Ubuntu server I set up for different stuff. Lately however, she has been experiencing a problem that has me, her, and both of our respective colleagues confounded and ...
0
votes
1answer
89 views

Cloud Image SSH Login

I am using OpenStack and when I attempt to login to Ubuntu QCOW2 image it just times out. I can ping the instance, and I can telnet the SSH port without an issue (telnet <floating ip> 22) so I ...
1
vote
1answer
48 views

Why is this odd file extension appearing when I scp a file?

I'm creating a large number of gifs and copying them to a separate computer with a webserver folder mounted via sshfs. For some reason the files will randomly copy with *.gif.001 file extensions. My ...
4
votes
1answer
139 views

Permanently raising nofile limits in Ubuntu 14.04 LTS

I cannot seem to figure out what exactly is needed to allow the maximum number of file descriptors to be raised permanently for all users. /etc/security/limits.conf: root hard nofile ...
0
votes
0answers
47 views

Problem running ufw on Ubuntu 14.04 server

ufw is supposed to be the easy firewall for Ubuntu, but I seem to still having missed something. After a fresh install on my 14.04 server, and leaving it default, the terminal will freeze after ...
3
votes
1answer
50 views

host ubuntu and guest Windows access each other from command line?

My host OS is Ubuntu 14.04, and guest is Windows 8.1 running in a virtual machine by VirtualBox. Is it possible to access the guest Windows from host Ubuntu from Ubuntu's bash? access the host ...
2
votes
0answers
83 views

Host to Guest one way connection issue

I have guest run on my machine on qemu with configuration: /usr/local/kvm/bin/qemu-system-x86_64 -enable-kvm -cpu host -smp 8 -hda ${TEST_VIRT_ENV_IMAGE} -m 4096 -netdev user,id=user.0 -device ...
0
votes
1answer
60 views

Keychain does not work in Cron

I have a problem with my backup script which is using keychain. The script works fine when fired via command line but doesn't work as expected when called via cron (does not transfer any data to the ...
0
votes
1answer
64 views

Creating new user, how to run commands after SSH login? (Ubuntu Server Trusty)

I have configured Ubuntu Server for my needs, and basically everything is working as I want. I'm new to Linux, but learned a lot using and interpreting different guides, however, this particular ...
0
votes
2answers
81 views

when ssh is run with a server + command argument, what startup profile runs if any?

I know /etc/profile and ~/.profile are among the start-up scripts used when ssh is used to login to a server – i. e. using ssh with server argument. However, the scenario where I am just using ssh ...
0
votes
2answers
46 views

How to run an application on a headless Ubuntu? [duplicate]

I have an Intel NUC running 3.13.11.6; and I have written an application that runs some simple data polling (cpu, memory usage, disk usage etc ...). The NUC is headless, so I connect via SSH (putty) ...
2
votes
1answer
60 views

Automatic User Creation for SSH Server?

I'm trying to setup an SSH server which, upon an attempted connection with the correct public key, will create a new user account if one does not exist. On connection I'd like a specific script to ...
0
votes
1answer
61 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
38 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
2answers
123 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 ...
-1
votes
1answer
26 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 ...
0
votes
0answers
39 views

Ssh outside network

I would like to setup an ssh server that I can access over the internet. I have forwarded the port 22 and I can connect over the internet on my local network, but as soon as I leave it it becomes ...
1
vote
1answer
43 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
24 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
0answers
66 views

Nautilus “Open in remote terminal” over sftp assumes wrong username in Ubuntu 14.04

I use the “nautilus-open-terminal” to open the terminal in the current folder in nautilus. This worked great in Ubuntu 12.04. However, after upgrading to 13.04, I am unable to open the terminal over ...
0
votes
1answer
80 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
0answers
44 views

Remote access to a machine, run script for logged on user

I've been searching for an answer for this for some time. Is it possible to log in to a machine remotely via (say from my phone on my way to work) and run commands that will affect the logged on ...
0
votes
1answer
79 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
62 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 ...
0
votes
0answers
27 views

sshd_config file get reset automatically

I have a server running with Ubuntu 12.04.2 LTS (GNU/Linux 3.5.0-23-generic x86_64). For some reason I have to get it accept password when I ssh onto it , so I change the sshd_config file ...
1
vote
1answer
65 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 ...
0
votes
0answers
11 views

How would I go about sending a command to a headless Linux device through ssh, closing the connection, and still have the command run? [duplicate]

I have sent a command to my headless Linux device though ssh but I would like to close the ssh connection, and still have the command run. Example: Running this command though ssh "aria2c -i ...
1
vote
2answers
32 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?
0
votes
0answers
101 views

GTK+ theming issue during forwarded X11 session over SSH

I'm having a very odd theming issue during forwarded X11 session over SSH. My remote host is an ARM router with some GTK+ packages ported using Optware. While X11 forwarding works in general, I get a ...
4
votes
2answers
71 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 ...
0
votes
1answer
124 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
27 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
24 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 ...
0
votes
0answers
39 views

I want to make a remotely controlled server running ubuntu gnome

Ok, so I have an old HP box with a 320gb hard drive in it. The display controller doesn't work on this machine, so I need to be able to control the machine remotely from my primary Linux Mint ...
3
votes
2answers
845 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
0answers
65 views

ECDSA SSH Auth Always Fails

I am trying to use an ECDSA key for ssh on a vps, as I am trying to migrate from RSA toward more secure encryption protocols. I am running Ubuntu 14.10, and the server I am trying to connect to runs ...
0
votes
1answer
57 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
172 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 ...
1
vote
0answers
89 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
20 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
79 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
0answers
70 views

ssh not working when tethering via android

I have a Raspberry Pi and various Ubuntu-running at home to which I can ssh into without any problems (with my laptop or smartphone) as long as I'm using a WiFi. But when I'm using my smarthones ...
0
votes
1answer
55 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, ...
0
votes
0answers
130 views

SSH Connection closed by remote server for one client but no problem with others!

I have a remote server and I was able to connect via SSH to it but some they I could not any more! I ssh to server with my laptop and my Android phone but from some day every time I am trying and the ...
0
votes
0answers
35 views

How to access VM hosted Ubuntu 14.04 with graphical UI from windows 7

I'm quite new with Ubuntu, and even more with remote Ubuntu. I got VM that is hosted on server, and it has Ubuntu 14.04 on it. I'm connecting via Windows 7 Putty/telnet connection (SSH), and I can ...
0
votes
0answers
65 views

Cannot Rsync to ec2 instance

This seems like the problem with the ubuntu user permission on ec2 server , cannot rsync successfully. Steps Taken: Generated public key from origin server (a normal ubuntu droplet with root user ...
2
votes
1answer
196 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. ...