1
vote
0answers
22 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 ...
0
votes
4answers
30 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 ...
0
votes
0answers
68 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 ...
-1
votes
1answer
65 views

how to run local shell script over ssh with su option

I have a script called test_ms.sh which I want to run over ssh along with the su - username option. I am user X on server A and server B and I have su access to user Y on server B. I do not have ...
1
vote
0answers
53 views

Reaching a login limit over SSH - How can I open more than 11 sessions?

I have a SSH connection to my Ubuntu VPS. I use it to create a proxy tunnel and it works well. I use Nethogs and "w" command to monitor the traffic. Nothing bad happens until I reach @pts/11. When ...
0
votes
1answer
43 views

terminal user and guest account logged into gui interacting with each other

What we have: I want to connect to a remote linux box via ssh with an account with superuser privileges. This linux machine has one current logged in user who is using a GUI on a guest account. ...
0
votes
2answers
151 views

bash: /home/user/.ssh/authorized_keys: No such file or directory

Create a ssh key: Command: ssh-keygen -t rsa –P "" Moving the key to authorized key: Command: cat $HOME/.ssh/id_rsa.pub >> $HOME/.ssh/authorized_keys bash: /home/user/.ssh/authorized_keys: ...
5
votes
2answers
264 views

Using mv & cp on a headless server (SSH timeout interferring?)

I've recently set up a headless server to back up a number of very large film & editing files. I SSH into the server and - following some best practice guides I found around - I've tightened ...
1
vote
1answer
51 views

Is there any way to echo an ssh session to a local terminal session

I am starting a server via ssh from various locations, and i want the terminal printout to be able to be viewed locally on the server, is there any way to do this?
2
votes
0answers
236 views

SSH update to 14.04: The disk drive for / is not ready yet or not present

I am not able to restart my Ubuntu server after upgrade from 13 to 14.04. What can I do to make things work again? I tried to upgrade my server over ssh to ubuntu 14.04. When the installation ...
1
vote
3answers
97 views

What is the appropriate command line to connect through SSH?

I would like to connect to my remote machine through SSH command line, but I don't know what are the appropriate terminal commands. I always get an error "connection refused".
2
votes
1answer
136 views

How do I pass complicated shell commands over SSH to be executed remotely? Mine throw syntax errors or get interpreted locally!

I have a command like this which tells me if a system has a disk that's getting full (>=70% full): if [[ -n df -PTh|column -t|awk '{print $6 $7}'|awk -F"%" '{printf "%-9s %-5s\n",$1,$2}'|grep -v -e ...
1
vote
2answers
77 views

Attempting to setup Ubuntu 12.04 SSH Server: -bash: /etc/hostname: Permission denied

Attempting to setup an SSH-server running Ubuntu 12.04. Went to "HowToForge" to scout for potentially advanced or knowledgeable advice upon how to accomplish this, then I ended up running into a ...
0
votes
1answer
50 views

how to leave a process running in backgroun on a terminal [duplicate]

I am running some simulation through a server. I usually login in the server using ssh command from the shell of my laptop. then I run emacs in terminal mode and with it I start some python ...
1
vote
0answers
38 views

log history of sftp [closed]

The /var/log/auth.log does not seem to contain what commands an user used after an sftp connection. Do anyone know where to find the commands issued after an sftp connection? One of my computers was ...
3
votes
1answer
83 views

How to create a user that can login via SSH, but can't use shell commands?

How to create a new user that can login via SSH, but can't use shell commands? I've tried to set /bin/false as the default shell to the user, but then I no longer can login via SSH.
2
votes
1answer
133 views

Open Remote Terminal Location from Nemo in Ubuntu 13.10

In Nautilus it was possible to build up a ssh connection to a remote server via passphrase. Then you could bookmark the address and go there really fast. This still works in Nemo with Ubuntu 13.10. ...
2
votes
1answer
159 views

Can ssh onto server using PuTTY, but not ssh from terminal

I have a very simple Ubuntu server with a couple of git repos on it, nothing special. At home I used a Windows PC, and use the PuTTY program to interact with the server. At work however I have a Mac, ...
0
votes
0answers
36 views

command line: How to give right to log in using ssh to user?

To learn some server management I just created a new Ubuntu 12.04 server. Since I only had a root account I created a new user with adduser kramer65. I now want to ssh into the server using that new ...
2
votes
0answers
37 views

who / w / logname broken in multiple terminals

I have a strange problem: In a GUI session, depending on the terminal being used the following two (related) problems appear: who and w doesn't list the user's active session logname returns ...
1
vote
1answer
304 views

Running a command in a new terminal instance in a bash script

I have a bash script where I configure my proxy settings automatically. I have created some aliases in the .bash_aliases file. Now there is one command where I ssh into my remote server and do some ...
2
votes
0answers
185 views

after ssh session : -bash: /bin/ls: no such file or directory

I've logged into my Ubuntu server from work via putty under Windows. Right away I noticed something weird. I could not use the ls command. Got: -bash: /bin/ls: no such file or directory I didn't pay ...
2
votes
1answer
202 views

How can I open and close an SSH tunnel along with Firefox?

I have a proxy server which I connect to like so ssh -L 2001:localhost:8888 -N myserver.com -p 443 I then open up Firefox firefox -p "SSHProxy" (It starts Firefox configured to use port 2001). ...
0
votes
1answer
66 views

SSH alias results in SSH usage instructions

I have the following alias in my .bash_profile file: alias rlogin="ssh -l elykl33t rlogin.server" Of course this is not the actual username or server address. When I, after relaunching terminal, ...
0
votes
1answer
97 views

Take Control of Process via SSH

I've started a process via SSH that it seems will take 2-3 days. I've not started this via tmux, so if my connection dies, my task will need to start over. Is there anyway I can login to another SSH ...
1
vote
1answer
62 views

Strange terminal navigation when logged in as new user

I am not even sure how to ask this properly.. I am using EC2 Ubuntu 12.04 I added a new user sudo useradd -g admin admin sudo adduser admin sudo Changed shudders so I can use new user without ...
1
vote
1answer
102 views

piping using ssh without having to relogin for every pipe

I have an ssh connection and I have to send some local files and output to the ssh server. I know I can do this using the following command tar zcf - stuff | ssh user@server 'tar zxf -' I would ...
2
votes
1answer
89 views

Strange characters (^[[A) on Cygwin command line when I SSH into a Ubuntu VM

Up arrow produces ^[[A and down arrow produces ^[[B These look like ASCI escape codes. I don't get this problem when I am working outside of the SSH session. Also, when I sudo su in the SSH ...
1
vote
1answer
549 views

SSH Stopped working

I restarted my computer, and now I can't connect to it through ssh on my remote machine. I can connect to it through the host machine, but that's it. It says ssh is running, but I can't connect from ...
0
votes
1answer
41 views

Allow bell for only one terminal

I am using mcabber via ssh, and using mcabber bell for sound of incoming message. In windows I used kitty it allows you to set audio file for terminal bell. In linux I still want to hear mcabber ...
1
vote
2answers
212 views

How to set up an old laptop as a wireless terminal to the desktop

I have searched countless phrases to find an answer and can't quite figure this one out. It is to my understanding that (as it was many moons ago at universities and the like) you can still use one ...
1
vote
2answers
634 views

Treat ssh terminal like it is local?

I'm trying to work on a computer remotely, but some of what I want to do involves calling GUI programs. I want them to open on the physical display of the remote laptop. Essentially my question is ...
0
votes
1answer
414 views

ssh command history and “autocomplete”

I need to work with ubuntu server remotely using ssh. I have only basic knowledge about linux administration, so it is difficult to work from shell. But any way... When I connected as root via ssh ...
0
votes
0answers
6 views

Ubuntu Server SHH backspace Bad Character [duplicate]

so while while I'm using SSH to connect my server the backspace shows me bad character. The backspace is the one with question mark. The backspace itself works normally, but in the screen, it wasn't ...
0
votes
2answers
521 views

I'm having trouble running a python script and then continuing with my bash script

I am using tcprelay.py from usbmuxd to forward local port 2222 to remote port 22 so that I can SSH into my iPhone over USB. If I run python ~/Downloads/usbmuxd-1.0.8/python-client/tcprelay.py -t ...
2
votes
1answer
111 views

Trying to understand my first server set up

I am trying to set up my first server and stack. I spent a week trying to do it on a virtual machine but could never get the ports to forward correctly so today I just dedicated the full machine. I ...
0
votes
0answers
27 views

Anything that converts GUI actions to commands to be sent to remote ubuntu via SSH? [duplicate]

Is there anything that would allow me to run a GUI on client side of SSH(ie on windows)& that would convert the GUI actions made to corresponding commands to be sent via SSH client(in my case ...
0
votes
2answers
410 views

Need help mass renaming files using command line that contain a certain string

I have about 200 files that are named like this: 01_-_Back_Alley_Uproar.avi 01_-_Bad_Luck_Cat.avi 01_-_Beep_Beep.avi 02_-_Broomstick_Bunny.avi 02_-_Bunker_Hill.avi and so on. I would like to ...
0
votes
3answers
2k views

Using PuTTy to control server while port 22 is blocked

I can control my server command line using PuTTy on my home network (port 22). I can also do this remotely (port 22). Now the issue is that while I am at school, port 22 is blocked on the router so ...
6
votes
2answers
584 views

xubuntu xterm strange lag/echo issue with ssh

I have a xubuntu box and using its terminal everything is fine locally; but when I ssh to any server, the remote echo seems to be holding the last line until a key is pressed or the window is resized. ...
2
votes
2answers
115 views

root@mickey:/#su goofy && ssh goofy.com — why does this fail?

mickey (who is logged in as root) tries to use goofy's account to ssh into goofy.com. root@mickey:/#su goofy && ssh goofy.com however this fails to login goofy on goofy.com, instead: ...
2
votes
1answer
275 views

pipe not working for wireshark

Im trying to use wireshark in my test enironment where I have two VM's with ip address 192.168.0.1 and 192.168.0.2 Im trying to monitor the data of the machine 192.168.0.2 from the machine at ...
2
votes
1answer
212 views

how to download a link in links using axel/curl?

shortly, how can I make lynx/links use axel/curl for downloading files that i want to store in my hard-disk?? Longley: I'm a server-manager and always used my ubuntu system and putty so i could ...
3
votes
2answers
1k views

How can I use grep to view only part of BFGMiner which is being run in screen over ssh?

Okay, bear with me on this. I'm using a program called BFGminer, which hopefully you know is a bitcoin mining program. Anyway. It updates every second a few lines that look like this: DEVICE 0: xxxx ...
0
votes
0answers
46 views

login into another hadoop namenode host

hduser1@bycb4y1:/$ ssh hadoop-namenode Welcome to Ubuntu 12.04.2 LTS (GNU/Linux 3.5.0-23-generic x86_64) * Documentation: https://help.ubuntu.com/ Last login: Mon Aug 5 17:05:47 2013 from ...
1
vote
1answer
964 views

Script for initiating ssh connection for port forwarding, and then execute vnc viewer on client's computer

I would like to write a script that gets as an argument a local computer ip (on the network of the ssh server), and forwards port 5900 on the client's computer to that ip:5900 on the server network. ...
1
vote
1answer
2k views

Port forward in terminal only

I have an old Ubuntu server (13.04), and want to open a port for this online game server style software for a mate. I need a port open, and to tell it that port (I know how to tell the game that ...
6
votes
1answer
3k views

Change terminal colour based on SSH session

Is it possible to automatically change the color of the terminal based on which server I am connected to through SSH? For instance, when I fire up the terminal it has the standard colors defined ...
2
votes
2answers
1k views

How do I open a new terminal window to ssh into a new computer and execute commands?

Basically, I have a computer that I have to ssh into and pull up about 8 terminals to monitor various threads and log files. I would like to have a script from my build machine that can do this all ...
1
vote
2answers
259 views

How do I launch a web browser on my local machine that visits websites through the ip of a remote machine?

So, I want to visit a website that only permits access to computers from certain ip domains. My ip is not from one of the allowed domains, but I've ssh'd into a (linux) machine at another location ...