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

learn more… | top users | synonyms (1)

0
votes
1answer
2k views

find -exec grep does not work

I need to use a find command in a script with ssh and grep together. Something like this: ssh user@host find /var/log -type f -mtime 1 -exec grep -i -F error warn {} \; But it says, that there is no ...
1
vote
1answer
424 views

How to rsync between home computer and computer inside another network?

All the computers I use run Ubuntu. To work from home, I SSH from my home computer to my lab computer as follows: # First a port knock is needed joe@homepc> telnet ssh.university.edu 9000 # Next ...
0
votes
1answer
458 views

SSH via Corkscrew - Where is the config?

I've read this page: http://www.ubuntugeek.com/how-to-use-ssh-via-http-proxy-using-corkscrew-in-ubuntu.html And it tells me to open up the SSH config file, which was in 2008, located in "~/.ssh/config"...
0
votes
1answer
502 views

juju local error ERROR could not connect before timeout

juju -v status: 2013-04-07 18:11:20,888 DEBUG Initializing juju status runtime 2013-04-07 18:11:20,902:3553(0x7f739cef7700):ZOO_INFO@log_env@658: Client environment:zookeeper.version=zookeeper C ...
0
votes
1answer
333 views

Cannot SSH into Kubuntu box without password

I am trying to set password-less logins to my desktop from my server so that a bash script on the server could scp backups over to the desktop. The desktop is running Kubuntu 12.10, and the server is ...
2
votes
1answer
170 views

Convenient method for frequent ssh

I frequently have to access the departmental servers while I'm off campus which requires: ssh user@public.school.com then enter password, then ssh private.school.com then enter same password ...
3
votes
1answer
4k views

How to acquire a remote host fingerprint that is not in known_hosts?

ssh-keygen -l -F host will print out the key of a remote host, but only if the host exists in known_hosts.Is it possible to request a fingerprint from a host that isn't in the known_hosts file? (...
0
votes
1answer
556 views

How to setup a file sharing service from ubuntu server over the net?

I have Ubuntu server edition that I ssh form on my mac and windows computers. I would like to know if there is any service I can install on my server that allows me to save and access my files from ...
8
votes
2answers
23k views

Copy files from a server via ssh to dropbox.

I have a user in a linux server (Debian) with ssh access, and have some files on it. I need to copy the files to my Dropbox. but I donot want to copy to my Dropbox in my PC and Laptop, I want to first ...
3
votes
2answers
5k views

SSH into Ubuntu 12.10 from a remote computer

I am trying to login to my Ubuntu 12.10 desktop remotely. I have the SSH server installed and it works fine when I am on the same network as the Ubuntu desktop. However, I am unable to connect ...
1
vote
2answers
2k views

SSH terminal automatic resizing

Ubuntu installations (12.04 and 14.04) from the mini.iso (and not on Server or Desktop versions) result in the host providing terminal session that do not automatically resize themselves to the same ...
1
vote
2answers
2k views

How can I open port 22 for Sparkleshare?

How can I open port 22 for Sparkleshare? Every time I run dazzle create name_of_the_project (Sparkleshare) it gives the address but does no show the port as it should be. Example: it shows: ssh://...
2
votes
0answers
121 views

who is scping your ssh server

Just you can run w to find who is sshing into your server, how can you find out who is scping into an Ubuntu laptop?
0
votes
2answers
340 views

Share Ubuntu between two computers and explore ubuntu

I have a Ubuntu 12.04 using the full hard disk in my laptop and a WUBI Ubuntu 12.04 using 30 GB in my desktop. Now I want to explore the networking features of Ubuntu. Like telnet and ssh. CLI etc etc ...
5
votes
2answers
614 views

Map a key to open terminal and execute commands

I want to map a key, say ctrl-shift-m to open a terminal, ssh into the mailhost, open pine and go into the compose mail pane. I already have ssh-key setup so i dont have to type my password while ...
0
votes
1answer
598 views

Have set up a file server. How to make it accessible from anywhere? [duplicate]

I have installed xubuntu and made it a file server in my college using this guide. How to build your own file server Okay I am pretty new to these things, but I want to know a few things? 1) I ...
2
votes
1answer
101 views

Adding a question to keyboard authentication method in SSH server

I read this article about authentication methods for SSH This is what is written there? During keyboard authentication zero or more prompts (questions) is presented to the user. The user should give ...
2
votes
1answer
156 views

Samba only works if logged in over ssh

I have a headless ubuntu server running samba. I have a windows 7 laptop, windows 8 desktop, a lubuntu desktop running xbmc, and a samsung note2 running android. Whenever any of these computers has a ...
0
votes
1answer
160 views

Need help troubleshooting Apache inside VM

I'm hitting a wall troubleshooting this. I feel the problem is either due to my lack of networking skills, or a basic knowledge of configuring Apache. I'm hoping I can shed some light on my setup by ...
3
votes
0answers
516 views

What do these lines in the UFW logfile mean?

These lines are repeated several times, first one at the time when remote ssh connection with the machine is lost (mac address is the address of eth used for Internet connection) Mar 24 21:20:32 ...
1
vote
1answer
551 views

Strange behavior with ssh on Ubuntu 12.04 server

Recently I installed Ubuntu server 12.04 on my computer at home with ssh support. I'm using WiFi instead of cable connection for this server. Everything works fine except the fact that for some ...
2
votes
1answer
1k views

ubuntu 11.10 /var/log/auth.log

I use Ubuntu 11.10. And I want it to write logging messages about failed ssh log in attempts to /var/log/auth.log. In my understanding /var/log/auth.log is supposed to hold all failed ssh connection ...
3
votes
1answer
3k views

trying to use sshfs on ubuntu

i'm trying to use sshfs on ubuntu. i have root access on the server i'm trying to connect to. but everytime i try to connect using my ubuntu laptop, the message i get is the following: cp@cp-...
0
votes
0answers
1k views

What to do after 'chmod -R 777 /'? [duplicate]

I have many file permission problems, as being a newbie, I unfortunately set permissions on everything somehow to 777 (chmod -R 777 /). I believe I've done this from the root directory logged in as ...
2
votes
2answers
308 views

how to use expect with bash

I Have created a shell script as given below.This script will login to a remote server as a normal user then switch to root user for creating a directory.The script is as given below. ssh -t ...
19
votes
2answers
14k views

How to use multiple ssh keys with different accounts and hosts

i have multiple ssh keys and i have also have account on bitbucket and github. how when ever i use pull it gives me error :/var/www/proj$ git pull origin master conq: repository access denied. fatal:...
2
votes
0answers
402 views

Problem with applying socks proxy systemwide

i trying tunnel my traffic through SSH server. when i use Firefox network setting, it work well but when i try apply the socks proxy system wide from ubuntu setting and tunnel google-chrome traffic, ...
6
votes
1answer
26k views

ssh refusing connection with message “no hostkey alg”

My SSH connections worked well, but from last week SSH from my laptop to my board refusing connection. I can make a SSH connection from the board to laptop, but not vice-versa. I tried that with my ...
1
vote
1answer
576 views

How to keep X-Server running via 'ssh -Y' after closing shell?

my name is Chris and i have trouble to run a Python-Script on a Server. I try to run a Python Script, that makes use of the Python module wx, on a Server. Therefor i open a shell connect to the ...
6
votes
3answers
5k views

How can I run SSH as a different user on the same Ubuntu installation?

I am creating a script which runs a series of command that would download a website to a machine and sets up everything. So most of the commands require root access. For example adding a vhost in /...
2
votes
1answer
152 views

How to check if a file is already opened over ssh?

I have a PC with Ubuntu server and I use it with friends to program on a project over SSH. The problem is that sometimes we have the same file opened and if somebody changes something and saves the ...
2
votes
2answers
7k views

Using authorized_keys with git

I have transfered my ssh key from my root to my user account by ssh-copy-id command so now I have these files in my .ssh folder user@user-php:~/.ssh$ ls authorized_keys config id_rsa id_rsa.pub ...
3
votes
1answer
5k views

Starting remote script/terminal based programs through ssh gives error (Error opening terminal: unknown.)

I directly start a remote script/command on an Ubuntu server with the following command: ssh me@server 'nano my_file.txt' However, this throws an error: Error opening terminal: unknown. Another ...
0
votes
1answer
1k views

connect to windows share automatically and rsync

I have a Western Digital connected to my router at 192.168.1.65 statically. How can I automatically connect at login and rsync? At the moment I am using this command that doesn't work. rsync -Paz /...
-1
votes
2answers
1k views

exporting X11 over ssh

I have a server sitting in a remote lab where I have installed openstack.I want to be able to access the xwindows on that machine so as to be able to use the http interface. I am running Ubuntu 11.04 ...
0
votes
1answer
7k views

ssh add bad passphrase

i have add public form another computer. on my computer i see the files in the ssh folder user@user-170:~/.ssh$ ls authorized_keys config id_rsa id_rsa.pub known_hosts known_hosts.old now i ...
2
votes
1answer
245 views

byobu, ssh and an accidently closed fluxbox

So i was using fluxbox and had a terminal using ssh to connect to a server. This server automatically starts byobu for everyone who's connecting to him. At least until i accidently closed my fluxbox ...
17
votes
2answers
30k views

Unable to start sshd

I'm new to Ubuntu and trying to start sshd but having a lot of problems. I've tried uninstalling and reinstalling ssh by running sudo apt-get remove openssh-client openssh-server and sudo apt-get ...
1
vote
2answers
993 views

X11 forwarding issue Ubuntu 12.10 from AIX

Using ubuntu 12.10 and have putty installed, I am using ssh /putty to connect an AIX system once I do that I export the display and run something simple like 'xclock' or 'xterm' Problem is its not ...
9
votes
3answers
33k views

How to SSH on a port other than 22

I have two computers behind the same router. Let's call them A and B. A can SSH to B in the following manner: ssh usr@<internal ip of computer> B can SSH to A by doing the same, but the ...
2
votes
1answer
1k views

Unable to connect to my remote Ubuntu system using SSH

I want to connect to my remote PC running on Ubuntu 12.10 using SSH. But when I try ssh my_username@my_current_ip, I get this error: ssh: connect to host 117...** port 22: Connection timed out I ...
1
vote
0answers
203 views

How to run openmpi on virtualbox with 3 PCs through SSH?

I have 3 PCs with Vista, running Ubuntu through Virtualbox on them. I have installed openmpi and ssh on them, they are connected via ethernet. The IP addresses are all 10.0.2.15. And I can ping with ...
1
vote
1answer
647 views

Ubuntu Desktop with GUI and SSH access

I used to have Ubuntu Server 12.10, and I used to connect to it with my Windows PC using SSH. All I had to do was turn my server computer on and next thing I could do was run my PuTTY and connect to ...
4
votes
1answer
17k views

Restrict SSH Access to Specific IP for User

My /etc/ssh/sshd_config file has a line like: AllowUsers jim@11.22.33.456 If I want to allow jim to use another IP addresses, how do I specify it? Does it take the form of a comma separated list? ...
0
votes
2answers
2k views

How to change the default user name from ubuntu to something else on EC2 AMI

How can I create a new Ubuntu AMI so that when a new instance is created the SSH credentials are copied under a different user than ubuntu (e.g. /home/administrator/.ssh/)? In short, I need to be ...
8
votes
1answer
6k views

Can I SSH into a specific directory?

I SSH into a multitude of different servers every day and some of them have different filesystem structures for their websites. Each time I change server, I have to work out where I'm going to get to ...
3
votes
1answer
282 views

Accessing Ubuntu Server from a Windows Machine?

I just bought a PowerEdge 1850, it's great and doing exactly what I need it to do but it's loud so I've placed it into my attic. The only trouble is every time I need to make a change or install new ...
1
vote
2answers
11k views

Trying to install java

I'm extremely new to linux and wanted to run a server but the program want to run requires linux. Im trying to run this command via ssh to my server but receive this every time. sudo apt-get install ...
4
votes
0answers
1k views

Boot from USB, setup through ssh [duplicate]

I've got a new home server with no keyboard, monitor, etc., but with the ability to boot from USB. I want to install Ubuntu Server on it, but can't work out how. If possible, I want a disk image that ...
38
votes
4answers
31k views

Should I always restart the system when I see “System restart required”?

These two nice SE posts (1, 2) comment on restarting one's ubuntu machine but they leave me with a few questions: How do you actually do the restart (I'm a beginner and using 12.04.1 LTS)? Should I ...