0
votes
1answer
18 views

Ubuntu two users logged with same name

I have a server and a ssh session, but it seems like I've pressed something and it was a shortcut so currently, when I do w it shows my other session (which I don't know how I opened). I closed my ssh ...
0
votes
1answer
17 views

Create folders in remote server after ssh login using commands

I need to create folders on the remote server, i try to ssh to the server and then create folders. The logs display that the ssh is successful but it stops after that and the screen stays at the home ...
0
votes
1answer
32 views

Command Prompt Stopped Listening to Me; Feeling Rejected

I'm SSHing into my headless Ubuntu 11.04 Server using PuTTY, and I'm in a byobu session. I started a mysql_safe daemon because I was trying to fix a password problem I was having with mysql. I was ...
2
votes
1answer
36 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 ...
0
votes
1answer
189 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 ...
1
vote
2answers
240 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 ...
1
vote
1answer
64 views

Disabling bash history index in terminal

When I SSH into somewhere, I see something line this in the terminal: [504]% Looking it up, looks like its my bash shell history. How can I disable this index display and show the current working ...
1
vote
2answers
120 views

How to run app “quietly” on ubuntu vps via ssh

I have an ubuntu vps and I want to run an app through ssh but I want to do it "quietly". I mean, when I for example start top, it is displayed in my ssh console and I don't have access to my vps ...
0
votes
1answer
406 views

SSH Commandline - Ubuntu x64 dedicated server raid-0 array creation LOG [ After reboot : Disk /dev/md127 doesn't contain a valid partition table ]

I followed this tutorial but failed as it seems, i tried for a couple times, here i throw the towel: ht-tp://www.rustyrazorblade.com/2012/07/setting-up-raid0-in-ubuntu-12-04-in-aws-high-io/ ...
3
votes
2answers
187 views

How to monitor website stats from the terminal?

is there any way to monitoring the stats from my own website .. like example.com .. just via our terminal without installing plugins .. so we can see real time visitor and bots came and go at website ...
0
votes
1answer
46 views

See output from another user account

So here's the setup: I have a remote computer running a program directly in CLI from user account NN. If I SSH into the same user account NN, is it possible to see the output of the program running ...
2
votes
1answer
260 views

ssh always prompts for key password

I'm using 12.10 with gnome-shell 3.6. I have multiple ssh keypairs (created with ssh-keygen). They're stored in ~/.ssh/ids/hostname/id_rsa and id_rsa.pub. I have a file ~/.ssh/config which says which ...
2
votes
1answer
213 views

SSH Lost Terminal Colors

I have to computers with exactly the same configuration (same PS1 etc...). When I ssh from A to B the terminal correctly displays PS1 and file type colors (i.e. blue directories, green executables ...
5
votes
1answer
603 views

How to run local shell script on remote server via SSH?

I want to run a local shell script on a remote computer with SSH. How can I do this?
3
votes
4answers
6k views

Finding the ip address of another computer on the network?

Is there a program which can tell me the ip address of a computer when is connected to my network? A list of names or ip addresses. For example when my wife is on my main desktop computer I can ...
2
votes
1answer
110 views

How to autostart or remotestart something and stop it another way in 12.04?

I want to autostart the software motion with motion -s either at start up of my Ubuntu 12.04 and/or via ssh from a different PC. All this is no problem. My question is, how do I correctly stop it ...
2
votes
1answer
120 views

how to recover backgrond process from a killed terminal

I have launched a long running process from ssh in background . Unfortunatly my connexion crashed . Now I'm trying to recover this process but when I execute fg it didn't detect it . How can I bring ...
1
vote
2answers
836 views

How can I copy folder's contents and tree-structure into a remote directory with same structure

Is it possible in SSH terminal to copy a folder directory into another directory that will share mostly the same folder names/structure but will have unique files. In a simple example: If FOLDER1 ...
3
votes
1answer
1k views

Open a new tab in gnome-terminal and have it automatically connect via ssh

I find myself ssh-ing into another machine a lot at work. So much so, that I use it more than simply using the terminal on my own desktop. I know that (normally) when I open a new tab, it will ...
3
votes
4answers
132 views

SSH Navigation Confusion

This may be the most ridiculous question I've ever asked, but I freely admit that I am stumped. I'm trying to move some files from a remote server to my local machine. I'm running Ubuntu, obviously. ...
2
votes
1answer
132 views

ssh login information

As the admin of my machine, I want users to be able to log into my computer with ssh, but I'm looking for a graphical way to be notified that a user is connected at the moment. If multiple users are ...
5
votes
1answer
2k views

How do I get Terminator to start up with my custom layout?

Terminator is very powerful at organizing several computers or servers due to the split window and group all function. But here's the deal: I created my own Layout and would appreciate it to load at ...
6
votes
6answers
1k views

Find out if there is a local user logged in when logging in over ssh

I need to run some calculations on a machine that I can only access remotely but also serves as a work station. There are many of them and I want to pick a "free" one. Free means in this case that no ...
1
vote
4answers
791 views

Problem with scp syntax

I am trying to copy a .tar archive from remote server to my pc. Directory of the archive that I want to copy: canserhan@embserv:~/tar_files/rtl_archive.tar Destination: ...
2
votes
1answer
441 views

What happens when I connect to a remote host via ssh?

I take classes at the University of Pittsburgh and I need to do my work in the universities linux terminal remotely. I use the command ssh usr@thot.cs.pitt.edu and I'm prompted for my password to ...
1
vote
2answers
814 views

Why does gnome-terminal freeze when an SSH session gets disconnected?

This is a very simple problem. I use gnome-terminal to SSH to other machines every day. I do this on a laptop which I carry around the office, so I am constantly switching between wired and wireless ...
3
votes
1answer
267 views

Open a pair of tabbed terminal windows with titles

I am constantly opening up a pair of terminal windows which I like to have on separate tabs that I then use to SSH to the same pair of servers. I then set the titles of each tab to be that of the ...
0
votes
2answers
3k views

How can I copy/paste files in the terminal window (SSH)?

I am new to ubuntu and my friend told me to SSH into my IPod so i can put/remove songs on it. I've been succesfully ssh'ing into it but i do not know how to copy and paste my songs from my Home ...
1
vote
1answer
372 views

Slow server on web-based writes and SSH login

I have an Ubuntu 10.04 server that's going a bit slow. It's very slow to log in via SSH, and it's very slow when making edits via a Mediawiki instance installed on there. For normal read access to ...
5
votes
1answer
740 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?
1
vote
1answer
675 views

How to use open/openvt with command line arguments?

Question: I can start LumiSoft mailserver in console mode like this: ./lsMailServer.exe -daemon Unfortunately this blocks the terminal that was used. And I am logged in via ssh. I'm just ...
1
vote
1answer
213 views

SSH responding poorly

Why do command line prompts respond poorly I am when SSH'ing into a terminal?
4
votes
1answer
268 views

SSH shell launched using “expect” doesn't have full width. How can I make fix it?

I am using expect to auto login on SSH from an Unity launcher, the command looks something like this: gnome-terminal -t SSH1 -e "expect -c 'spawn ssh root@111.222.333.255 ; expect assword ; send ...
5
votes
1answer
3k views

fork: Cannot allocate memory

frequently getting 'fork: Cannot allocate memory' when running commands over ssh. I have 4Gb of RAM and usually 2Gb free. This happens since I've upgraded ubuntu to 11.10. Drives me crazy already. I ...
8
votes
6answers
11k views

Can you set passwords in .ssh/config to allow automatic login?

I'm using ubuntu 11.10. I'm using ssh for connecting to many servers daily, so i put their parameters in .ssh/config file; like this : Host Home User netmoon Port 22 HostName test.com Is there a ...
10
votes
5answers
4k views

Switch encoding of terminal with a command

One of the servers I quite often ssh to uses western encoding instead of utf-8 (and there's no way I can change that). I've started writing a bash script to connect to this server, so I won't have to ...
1
vote
1answer
283 views

How do I get package update notifications on login?

In Ubuntu 11.04 Server when I would log in via ssh it would tell me how many packages are available for updating in the welcome message. After upgrading to 11.10 I no longer get that information. Is ...
2
votes
1answer
753 views

Resizing partitions on a RAID 0 Array by command line

Oh boy this is a qustion and a half. Simply put when i set up the server it wasn't intended to be used for what it is now, and root (/) has run out of diskspace, while /home has tonnes of the stuff ...
0
votes
1answer
411 views

Accessing Xubuntu GUI remotely on linode

I'm ssh'd as root into my linode server and have installed Xubuntu (for Ubuntu 10.04). Now I'd like to use it, but issuing starts brings about the fatal error no screens found. I've installed and run ...
5
votes
3answers
543 views

How do I inhibit suspend from the command line?

Is there a way to inhibit suspend/hibernate from the command line. I want to ssh into my home computer and not have it suspend while I'm working on it.
2
votes
1answer
442 views

ssh permission denied in terminal but not inNautilus

I have two Ubuntu machines on the same network. I installed openssh-server and client. When I try to connect through the terminal I get the following message: "Permission denied, please try again" . ...
2
votes
1answer
507 views

Can I launch Tomboy Notes over ssh

I have a few machines running Ubuntu and often I need to run an application from one machine on another. So I use ssh to do this as I already have it set up and it is simple to do. For example ssh ...
0
votes
2answers
319 views

What's the command for ssh to find files which *.png and download them

I was connected my OpenSSH, but What's the command for ssh to find all files which are *.png and get them at the same time, recursively
4
votes
2answers
3k views

How do I kill a locked SSH session?

From time to time, SSH sessions to my servers just freeze up and then neither Ctrl+C nor Ctrl+\ do anything. How do I quit the session without just closing the Terminal it's in? Clarification: ...
2
votes
1answer
264 views

Triggering a UI message based on a terminal ssh'd to another server

I am working in a multi-workspace multi-window configuration. I am constantly running scripts behind the scenes. It would save me a lot of time and context switching if I could kick off a script on ...
9
votes
3answers
5k views

What is terminal command that can show OpenGL version?

So I want to find out which is my OpenGL version. I have access to Ubuntu via SSH. Which command shall I execute?
0
votes
1answer
585 views

How can I stop a terminal connection from timing out

At work I have two machines: Windows XP and Ubuntu 11.04. On my XP machine I use Putty to connect to some servers and can leave those windows open for weekends without them timing out. However, when ...
0
votes
1answer
139 views

What command runs when I SSH into a server?

When I SSH into a server, I see the MOTD then I am in BASH. What command is running that takes care of displaying the MOTD and then starts the shell?
2
votes
2answers
2k views

How can I disable/modify the SSH login banner for a given user?

How can I disable/modify the SSH login banner for a given user?
4
votes
2answers
924 views

cat command - will it overwrite?

In order to pass the contents of one file to another we can, for example: cat ~/temp_minhakey.pub >> ~/.ssh/authorized_keys Let's say, we need to append more content to authorized_keys, but ...

1 2