0
votes
1answer
69 views

Save a remote server (ssh) connection including password on Mac Terminal

Can I save an SSH connection similar to the answer to this question but including the password?
1
vote
1answer
97 views

Tab title is wrong with ssh/screen on osx

I am doing ssh -t host screen -D -RR in OS X (10.9) terminal tabs. My ~/.screenrc is identical on all remote hosts and contain the following line: hardstatus string "%H(%n:%t)$USER %h" My ...
0
votes
1answer
109 views

Terminal mac (bash) script to extract, move and clean a WordPress install

I want to be able to copy/paste into terminal; wget http://wordpress.org/latest.tar.gz tar -xzvf latest.tar.gz mv wordpress/* . rmdir wordpress rm latest.tar.gz But I want correct wait commands in ...
0
votes
0answers
64 views

Close XQuartz when closing Terminal

I have an alias in my .profile file that has the following format: alias cluster="ssh -X user@server" This starts an ssh session with X11 forwarding such that the GUI from the server is forwarded ...
1
vote
4answers
1k views

How to have multiple windows in a SSH terminal session?

From Mac OSX I login to a remote server that handles parallel computing jobs. I am not able to install anything on this server as it is administered by the university. I have multiple jobs running and ...
0
votes
1answer
48 views

Tool for editing text before sending to via a slow ssh connection?

I often ssh to a remote machine and work in an interactive shell (e.g. pry). If the ssh connection is slow, typing complex commands is very tedious because of the delay in echoing back the ...
0
votes
1answer
202 views

How to make terminal title to stick on Macs

I'm not sure if this is a problem with my mac, of which I'm a noob with, or if it's a setting of the server I'm sshing into. What I'm doing is this: Open a new window in terminal SSH into a CentOS ...
2
votes
1answer
81 views

Can I remotely monitor printf results of a C program?

I have a long running C program in which I've started from the Terminal.app using: gdb program_name gdb run I'm using many printf statements to monitor the progress of the program. Unfortunately, ...
3
votes
2answers
849 views

How to set the title of the tab in Terminal.app to the remote server I'm logged in to

I use one Mac to do work on several others. What I'd like to do is find a way to programmatically set the title of a Terminal.app tab to the name of the server I'm ssh-ed into, so I can determine at ...
1
vote
0answers
241 views

osx - Set application access to certificate via command line

I want to allow permanent access to certificates for certain app (eg codesign) via command line. The gui equivalent would be clicking "Always Allow" when prompted. However I only have access via SSH ...
5
votes
2answers
627 views

Capturing remote output locally in Mac Terminal

I want local programmatic access to ssh output in Mac Terminal. First, I tried redirecting the output of each command to a file. The file was perfect, but of course it was on the remote server, and ...
2
votes
3answers
186 views

Terminal.app characters set changes — completely illegible

I was just ssh'd into my server (Ubuntu 10.04.2), and I ran aptitude (in interactive mode). Once I pressed one key (one of the letters, g I believe), it turned into this (not just the SSH session; ...
0
votes
1answer
439 views

How to prevent Terminal.app from closing when ssh is running?

Usually if a program is running in Terminal.app, when you try to close it it will give you a warning "Do you want to close this Window?" This happens to almost everything that I have tried, including ...
0
votes
1answer
721 views

How can I prevent OS X Terminal.app from overriding vim colours on a remote system?

As my primary workstation, I use a mac running OS X 10.5. I spend much of the day ssh'd into remote systems and am working on grokking vim. One of the things I want to do is experiment with different ...
3
votes
1answer
2k views

Weird behaviour/rendering of backspace in Terminal.app when SSHing into zsh using tmux/screen

I just stumbled upon a weird problem. When I SSH into my server (centos, zsh) and I type some stuff and hit backspace It looks like a space - but internally it really deleted the characters. ls -l a ...
0
votes
2answers
509 views

Running processes through SSH? [duplicate]

Possible Duplicate: How do I keep jobs running after logout? I'm on a Mac and I SSH into my Ubuntu box and run node.js (or any other application), but when I close out of the terminal on my ...
5
votes
2answers
3k views

How to get files from Mac OS X desktop to Remote Server?

I typically use an FTP client to get files up to a server. But this time I was given remote access. So I am using Windows Remote Desktop Connection (on a Mac) and I am logged into the server. I see ...
0
votes
3answers
1k views

Unusual backspace behavior in Mac terminal

I'm trying to figure out how to get SSH sessions to work how I want using the terminal application on Mac OS X. I'm used to using PuTTY on Windows, where backspace means backspace. When I press ...
3
votes
3answers
2k views

How do I ensure that the Mac OS X Terminal asks me for my private-key’s password every time I SSH?

The only time the Mac OS X Terminal seems to ask for my identity file’s password, is when I restart. I’m fairly paranoid, and this seems insecure; how can I ensure it asks for the password every time ...
14
votes
2answers
8k views

Mousing and Page-Up/Down in Terminal for Mac OS X

Compared to *nix, Terminal.app seems pretty lame. How can I get it to: Send Page-Up/Down to an application, instead of just scrolling the terminal output Mouse around in vim. set mouse=a isn't ...
9
votes
1answer
2k views

How do I make OS X set the terminal title back to the original title when coming back from ssh?

Starting on OS X, I ssh into foo (a Linux box). My terminal title changes to foo. I then ssh into bar (another Linux box). My terminal title changes to bar. I log out of bar. My terminal title ...