05-01-2005
ssh-ing to port 80.
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, but the majority of topics are about tunneling; nearly everytime i see topics about telneting to 80, the response is "use ssh," but there are no examples of how. am i using the correct command/syntax? is there a configuration problem elsewhere?
thank you.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm trying to be able to get color with my SSH sessions (I'm using PuTTY) when using Emacs... but I've been unable to.
Someone told me to change the Terminal-type string to "xterm-color" and I've tried that... but I still can't get any color.
Any and all help will be appreciated. (4 Replies)
Discussion started by: xyyz
4 Replies
2. UNIX for Dummies Questions & Answers
I've got openssh installed but when i try to ssh to my machine i get a "port 22: connection refused" message.
Do I need to add something to the hosts.allow file to allow ssh access in?
I'm running Mandrake 8.1 (5 Replies)
Discussion started by: gasaraki99
5 Replies
3. UNIX for Dummies Questions & Answers
How can I switch the port which SSH listens on? (1 Reply)
Discussion started by: Spetnik
1 Replies
4. UNIX for Dummies Questions & Answers
Specs:
Computer = 2003 Dell Zeon with 2 SCSI drives 1 gig ram
OS = SCO Open Server 5.0.7 patched up
SSH = Open SSH, not sure what version, new within a year.
How do I reset an SSH port 22 that is not responding to incoming connections, without having to restart the computer?
Any help... (3 Replies)
Discussion started by: PCTECH
3 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. IP Networking
Hi Linux/Unix Guru,
I am setting Linux Hopping Station to another different servers.
My current config to connect to another servers is using different port to connect.
e.g
ssh -D 1080 -p 22 username@server1.com
ssh -D 1081 -p 22 username@server2.com
Now what I would like to have... (3 Replies)
Discussion started by: regmaster
3 Replies
7. 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
8. Cybersecurity
Hi Guys,
My certificate in /etc/ssh is different to what is on port 22.
username@server:~$ ssh-keyscan -p 22 127.0.0.1 > /tmp/rsa.tmp
# 127.0.0.1 SSH-1.99-OpenSSH_33.33
username@server:~$ ssh-keygen -lf /tmp/rsa.tmp
1024 46:something..................... 127.0.0.1... (0 Replies)
Discussion started by: mu100
0 Replies
9. SuSE
I installed linux on one of my system and assigned valid network ip to it.
I am able to connect to net properly.
But when I try to putty this system from another system using ssh at port 22 then it gives me connection timed out error.
When I ping the system it responds fine but still unable to... (2 Replies)
Discussion started by: rupeshkp728
2 Replies
10. Solaris
Hello everybody,
I'm a begginer using Solaris so I really need your help. I'm trying to copy a file using scp from a Red Hat Linux 6 server to an Oracle Solaris 11 machine and all i get is an error "" ssh: connection to host <HOST_IP> port 22: Connection refused lost connection.
Thanks for... (6 Replies)
Discussion started by: limaco82
6 Replies
LEARN ABOUT DEBIAN
ssh-copy-id
SSH-COPY-ID(1) General Commands Manual SSH-COPY-ID(1)
NAME
ssh-copy-id - install your public key in a remote machine's authorized_keys
SYNOPSIS
ssh-copy-id [-i [identity_file]] [user@]machine
DESCRIPTION
ssh-copy-id is a script that uses ssh to log into a remote machine and append the indicated identity file to that machine's ~/.ssh/autho-
rized_keys file.
If the -i option is given then the identity file (defaults to ~/.ssh/id_rsa.pub) is used, regardless of whether there are any keys in your
ssh-agent. Otherwise, if this:
ssh-add -L
provides any output, it uses that in preference to the identity file.
If the -i option is used, or the ssh-add produced no output, then it uses the contents of the identity file. Once it has one or more fin-
gerprints (by whatever means) it uses ssh to append them to ~/.ssh/authorized_keys on the remote machine (creating the file, and directory,
if necessary.)
NOTES
This program does not modify the permissions of any pre-existing files or directories. Therefore, if the remote sshd has StrictModes set in
its configuration, then the user's home, ~/.ssh folder, and ~/.ssh/authorized_keys file may need to have group writability disabled manu-
ally, e.g. via
chmod go-w ~ ~/.ssh ~/.ssh/authorized_keys
on the remote machine.
SEE ALSO
ssh(1), ssh-agent(1), sshd(8)
OpenSSH 14 November 1999 SSH-COPY-ID(1)