-1
votes
0answers
18 views

restrict shell commands for munin-node (netcat)

I've spent fair amount of day fiddling with this, and I'm about to give up (for today). I followed instructions outlined here: http://munin-monitoring.org/wiki/Native_ssh All works at the moment. ...
0
votes
1answer
41 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
18 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
53 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
0answers
23 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
82 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
29 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
25 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
130 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
137 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
117 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
39 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
68 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
35 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
55 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
64 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
203 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
27 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
133 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
338 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
311 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
497 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
100 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
330 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
495 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
102 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
218 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
189 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
41 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
783 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
2k 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
947 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
185 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 ...
2
votes
2answers
939 views

What does the script /dev/null do?

I was sued into another user to run screen, but I got the error Cannot open your terminal '/dev/pts/4' - please check. I found a solution: script /dev/null and after that I can use screen. Why does ...
3
votes
2answers
2k views

Command line web browser using SSH, is there any way i can use

I am connected using SSH to a Ubuntu Box which is behind firewall and routers. From that Ubuntu box i need to open a router web page and login to the router for doing some changes. How can i from ...
1
vote
1answer
493 views

How to switch keyboard input language through ssh terminal on the remote machine? (Alt-Shift analog for ssh)

I'm looking for a way to change the language I give as input to the remote machine in an ssh session. All I want is an analog of the Alt+Shift shortcut, but for the remote machine. Specifically, the ...
0
votes
1answer
225 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
201 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
138 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
114 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
226 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
641 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
174 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
427 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
900 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/ ...