09-03-2001
I use putty to connect to all the Unices at work. I get color on the Slackware boxes (that support it), and my terminal type string is simply set to "xterm" (no quotes). If that doesn't work, try executing (from the console): echo $TERM. Now, set whatever the value of TERM is as your terminal type string in putty. Hope it works!
8 More Discussions You Might Find Interesting
1. Red Hat
i am using redhat 8.0 and trying to connect to my local port 80 to run some HTTP. i know this can easily be done with telnet localhost 80, however telnet is not running, ssh is. ssh localhost -p 80 gives me a "Connection refused" error.
i've been trying to find out more information on the web,... (3 Replies)
Discussion started by: effigy
3 Replies
2. UNIX for Dummies Questions & Answers
So... i cant get it to work.
I had already posted this but it got deleted. Details:
Im running SSH shell on Windows XP, connecting to a server whose term is vt100 (someone asked me that last time)
Im trying to get the syntax highlighting in cc mode to work in color, but its black and... (0 Replies)
Discussion started by: viejid
0 Replies
3. UNIX for Advanced & Expert Users
i'm not much of an advanced unix programmer but I'm trying to write a script to access files on box1 after ssh from box 1 to box2. when ssh is invoked in the script i'm getting logged into box2 and losing complete touch with box1 which is normal i guess.
but my main aim with my script is when i... (3 Replies)
Discussion started by: pharos467
3 Replies
4. OS X (Apple)
Hi
I'm trying to customise emacs to work within iTerm (I've aliased emacs = emacs -nw so it runs inside my shell) but I can't get the 'set-cursor-color' to work. I have the following in my .emacs file:
(set-cursor-color "LightSkyBlue") ... (0 Replies)
Discussion started by: pepperjacl
0 Replies
5. Shell Programming and Scripting
I have a file that is 20 - 80+ MB in size that is a certain type of log file.
It logs one of our processes and this process is multi-threaded. Therefore the log file is kind of a mess. Here's an example:
The logfile looks like: "DATE TIME - THREAD ID - Details", and a new file is created... (4 Replies)
Discussion started by: elinenbe
4 Replies
6. UNIX for Dummies Questions & Answers
Hi,
We are currently implementing an Identity Management application which has several Unix systems as its target system. A pre-defined connector will be installed to provide connection between the Identity Management application and the Unix target system. The connection will use Public Key... (1 Reply)
Discussion started by: tristanD
1 Replies
7. Red Hat
Ok, Im trying to get NFS working on my RHEL 5 box, apparently i can use the box as a client, but not as a server. If it helps i cant ssh into the box (server), but as a client ssh works fine. Ive configured
server:
/etc/hosts.allow:
all : all
all :all@all
setup my /etc/exports file... (4 Replies)
Discussion started by: drs.grid
4 Replies
8. UNIX for Dummies Questions & Answers
Hi All,
I am new to this forum and a beginner in unix. Please correct me if I put the question in a wrong way..
How to use emacs editor? Also how to open existing emacs files with .cgi format?
I have the following link :-
http link i.e. url and path : /abc/xyz.dev/xyz/documents
What... (7 Replies)
Discussion started by: swathi123
7 Replies
LEARN ABOUT DEBIAN
knife-ssh
KNIFE-SSH(1) Chef Manual KNIFE-SSH(1)
NAME
knife-ssh - Run a command or interactive session on multiple remote hosts
SYNOPSIS
knife ssh QUERY COMMAND (options)
-a, --attribute ATTR
The attribute to use for opening the connection - default is fqdn
-C, --concurrency NUM
The number of concurrent connections
-m, --manual-list
QUERY is a space separated list of servers
-P, --ssh-password PASSWORD
The ssh password
-x, --ssh-user USERNAME
The ssh username
-i, --identity-file IDENTITY_FILE
The SSH identity file used for authentication
-p, --ssh-port PORT
The ssh port
--[no-]host-key-verify
Verify host key, enabled by default.
DESCRIPTION
The ssh sub-command opens an ssh session to each of the nodes in the search results of the QUERY. This sub-command requires that the
net-ssh-multi and highline Ruby libraries are installed. On Debian systems, these are the libnet-ssh-multi-ruby and libhighline-ruby pack-
ages. They can also be installed as RubyGems (net-ssh-multi and highline, respectively).
TERMINAL MULTIPLEXING AND TERMINAL TAB SUPPORT
knife ssh integrates with several terminal multiplexer programs to provide a more convenient means of managing multiple ssh sessions. When
the COMMAND option matches one of these, knife ssh will create multiple interactive ssh sessions running locally in the terminal multi-
plexer instead of invoking the command on the remote host.
The available multiplexers are:
interactive
A built-in multiplexer. interactive supports running commands on a subset of the connected hosts in parallel
screen(1)
Runs ssh interactively inside screen. ~/.screenrc will be sourced if it exists.
tmux(1)
Runs ssh interactively inside tmux.
macterm (Mac OS X only)
Opens a Terminal.app window and creates a tab for each ssh session. You must install the rb-appscript gem before you can use this
option.
SEE ALSO
knife-search(1)
AUTHOR
Chef was written by Adam Jacob adam@opscode.com with many contributions from the community.
DOCUMENTATION
This manual page was written by Joshua Timberman joshua@opscode.com. Permission is granted to copy, distribute and / or modify this docu-
ment under the terms of the Apache 2.0 License.
CHEF
Knife is distributed with Chef. http://wiki.opscode.com/display/chef/Home
Chef 10.12.0 June 2012 KNIFE-SSH(1)