10-15-2008
Another fact I forgot to mention:
If I try "ssh server1" it fails.
If i try "ssh server1 ls", strangely enough it works...
So root can in fact connect to that server, but just can't logon to it.
Greetings.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi guys,
Please bear with me
i have a sco 5.0.6 openserver i'm telnet in to it. (via dsl)
After 7 minutes it will kick me out of my program.
Is there any settings that i need to change in order to stop the time out problem.
I dont have any router or hub (dsl modem to nic card )
Also... (6 Replies)
Discussion started by: josramon
6 Replies
2. UNIX for Dummies Questions & Answers
Hello there .
I have a unix box 5.0.06 , this is the error (Telnetd: All networks ports in use .
Can anyone tellme how to resolve this problem.
Thanks a lot . (2 Replies)
Discussion started by: josramon
2 Replies
3. UNIX for Dummies Questions & Answers
Hi everybody
I already have installed Linux Red Hat FC4 in two machines into the same net using DHCP in both of them, the network interface are working fine cuz i can surf in Internet in those machines
The problem is i need to do a Telnet from one host to the other, the xinetd and telnet... (1 Reply)
Discussion started by: Lestat
1 Replies
4. UNIX for Dummies Questions & Answers
Hi Guys!
I'm trying to connect to a regatta IBM (Sun 5.8) from my recently installed Sun Blazer, but I got the following:
% telnet regatta
Trying 167.164.87.8
Connected to regatta
Escape character is '^]'
Connection closed by foreign host
%
Do you have any idea what the problem is?... (2 Replies)
Discussion started by: cordobapablo
2 Replies
5. UNIX for Dummies Questions & Answers
...so I read "The Pragmatic Programmer" and they stressed the value of learning shell scripting!
I'm in a UNIX environment but have a Windows XP workstation.
I'm using Telnet to issue UNIX commands. I've done plenty of chmod's, command line ftp and stuff, but written no scripts to this point.... (1 Reply)
Discussion started by: pauljohn
1 Replies
6. UNIX for Advanced & Expert Users
I amn't advance but i want to learn some commands where here you can help me. i don't learn easy commands but i learn if its good experience and interesting. I want to learn about ssh, telnet and how i can be miff ( i don't speek good english but i hope to understant me) thanks for any help... (1 Reply)
Discussion started by: Kostantinos
1 Replies
7. UNIX for Dummies Questions & Answers
I want to learn some commands like ssh, telnet and others where i can be tease. thanks for help... (2 Replies)
Discussion started by: Kostantinos
2 Replies
8. UNIX for Dummies Questions & Answers
dear all,
I know that this question has been asked before frequently, but I really don't get it. My question is composed of several ones.
First:To telnet through a script, I was told to use the way described below, and it works for me, but i don't understand the syntax here.... (3 Replies)
Discussion started by: marwan
3 Replies
9. Shell Programming and Scripting
Hi All,
I was implementing a change of TELNET to SSH connectivity, and finding it tough at a point where I was connecting to another unix server through TELNET.
( ps -ef |grep abcd) | TELNET x.xx.xxx.xx
now I when I tried to replace TELNET with SSH, i am not able to connect.
( ps -ef... (1 Reply)
Discussion started by: pranavagarwal
1 Replies
10. Red Hat
I have following problems with RHEL 5.2 Desktop installation
ftp, telnet, ssh and web are not working. Web browser tries to connect to host but eventually fail with timeout. ftp, telnet and ssh simply hung, nothing happens. Basically all protocols will end up in timeout.
ping, nslookup and... (2 Replies)
Discussion started by: Kainu
2 Replies
LEARN ABOUT SUNOS
ssh-http-proxy-connect
ssh-http-proxy-connect(1) User Commands ssh-http-proxy-connect(1)
NAME
ssh-http-proxy-connect - Secure Shell proxy for HTTP
SYNOPSIS
/usr/lib/ssh/ssh-http-proxy-connect [-h http_proxy_host] [-p http_proxy_port] connect_host connect_port
DESCRIPTION
A proxy command for ssh(1) that uses HTTP CONNECT. Typical use is where connections external to a network are only allowed via a proxy web
server.
OPTIONS
The following options are supported:
-h http_proxy_host Specifies the proxy web server through which to connect. Overrides the HTTPPROXY and http_proxy environment vari-
ables if they are set.
-p http_proxy_port Specifies the port on which the proxy web server runs. If not specified, port 80 is assumed. Overrides the HTTP-
PROXYPORT and http_proxy environment variables if they are set.
OPERANDS
The following operands are supported:
http_proxy_host The host name or IP address (IPv4 or IPv6) of the proxy.
http_proxy_port The numeric port number to connect to on http_proxy_host.
connect_host The name of the remote host to which the proxy web server is to connect you.
connect_port The numeric port number of the proxy web server to connect you to on http_proxy_host.
EXAMPLES
The recommended way to use a proxy connection command is to configure the ProxyCommand in ssh_config(4) (see Example 1 and Example 2).
Example 3 shows how the proxy command can be specified on the command line when running ssh(1).
Example 1: Setting the proxy from the environment
The following example uses ssh-http-proxy-connect in ssh_config(4) when the proxy is set from the environment:
Host playtime.foo.com
ProxyCommand /usr/lib/ssh/ssh-http-proxy-connect
playtime.foo.com 22
Example 2: Overriding proxy environment variables
The following example uses ssh-http-proxy-connect in ssh_config(4) to override (or if not set) proxy environment variables:
Host playtime.foo.com
ProxyCommand /usr/lib/ssh/ssh-http-proxy-connect -h webcache
-p 8080 playtime.foo.com 22
Example 3: Using the command line
The following example uses ssh-http-proxy-connect from the ssh(1) command line:
example$ ssh -o'ProxyCommand="/usr/lib/ssh/ssh-http-proxy-connect
-h webcache -p 8080 playtime.foo.com 22"' playtime.foo.com
ENVIRONMENT VARIABLES
HTTPPROXY Takes the http_proxy_host operand to specify the default proxy host. Overrides http_proxy if both are set.
HTTPPROXYPORT Takes the http_proxy_port operand to specify the default proxy port. Ignored if HTTPPROXY is not set.
http_proxy URL format for specifying proxy host and port.
EXIT STATUS
The following exit values are returned:
0 Successful completion.
1 An error occurred.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWsshu |
+-----------------------------+-----------------------------+
|Interface Stability |Stable |
+-----------------------------+-----------------------------+
SEE ALSO
ssh(1), ssh-socks5-proxy-connect(1), ssh_config(4), attributes(5)
SunOS 5.10 24 Oct 2001 ssh-http-proxy-connect(1)