4
votes
1answer
49 views

How to automatically opening terminal windows & tabs, ssh and sudo su?

When I start my day in front of my computer, I first have to do the following: In workspace 1: Open a new terminal window, ssh loginserver, then ssh serverA1 and sudo su account00 Open a new ...
3
votes
1answer
52 views

How to configure SSH username and pass on Ubuntu server 14.04.1

I am trying to remotely administer my server using SSH. I believe SSH comes installed default, I just need to know how to configure username and password.
2
votes
2answers
49 views

Is it possible to launch an application on a remote pc using the terminal?

I found myself away from my computer needing to do some quick work that required my accessing my desktop remotely. I normally use teamviewer, but I don't have it load on boot. I can launch it from the ...
-1
votes
0answers
26 views

automate ssh commands and read output

I am working on my assignment where I have to enter a certain key on ssh terminal to open next problem. There are several candidate keys which I have shortlisted and i need to enter them via ssh, ...
1
vote
0answers
95 views

vi issue in SSH TTYs to Ubuntu 14.04.1 LTS

After upgrading my server to Ubuntu 14.04.1 LTS, I can no longer use the vi editor to edit anything in an SSH terminal (I access the server by launching ssh sessions from Cygwin running on Windows). ...
-1
votes
2answers
49 views

Ubuntu ssh clients

is there a ssh client similar than filezilla but i all so need to use terminal sometimes. Support for ssh access key is all so requirement. It would be great if i just could jump up and down files in ...
1
vote
0answers
87 views

SSH connection failing since I changed server port number

Yesterday I changed the default ports on the server from 22 to 1993 then restarted but now I can't connect at all. I used ssh -i keyname.pem ubuntu@remotehost to connect then sudo vi ...
2
votes
1answer
95 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
72 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 ...
1
vote
0answers
262 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
115 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
61 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
70 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
494 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
399 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
64 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
370 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
104 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".
3
votes
1answer
206 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
113 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
59 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
66 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
113 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
237 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
213 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
39 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
39 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
341 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
192 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
242 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
72 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
110 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
75 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
124 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
117 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
774 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
46 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
272 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
789 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
479 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
531 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
123 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
456 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
647 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
120 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
308 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
237 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 ...