ssh thru firewall


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers ssh thru firewall
# 1  
Old 02-22-2002
ssh thru firewall

Hi

a question about ssh.

im setting up a script to scp files to a remote machine outside our firewall, the script needs to be password free using keys.

The firewall allows ssh trafic outside the company network but does not let ssh back into the network. this seems to be affecting the keys for login, when the remote server asks for authentication. Is this proper behavior of ssh and if so is there a work around? it works perfectly if i type my passsword.

help apreciated
thangorn
# 2  
Old 02-22-2002
As I recall, SSH servers use port 22. What other ports do SSH servers use? I think 115 is used for sftp.
# 3  
Old 02-22-2002
You can reconfigure the SSHd on your server (if you are root) to use whatever the firewall will allow to pass.

Where I work, they disabled port 22 but still allow 4899, so now my SSHd on the home machine is using 4899.

It's a pain, but it works.
# 4  
Old 02-22-2002
Question

yeah i have a server running at home port 119 cos its always open from work,,,

my question is about a remote server on port 22. i can ssh out of the network, but port 22 is blocked incomming,,, it seems to mess up login via the keys..


the remote machine is actualy an NT machine running some sort of linux shell,,,, i dont how,,
but a uname -a says MS NT 5 i686
my client is solaris running openssh
dont know if that makes a difference
thangorn
 
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Ssh script to validate ssh connection to multiple serves with status

Hi, I want to validate ssh connection one after one for multiple servers..... password less keys already setup but now i want to validate if ssh is working fine or not... I have .sh script like below and i have servers.txt contains all the list of servers #/bin/bash for host in $(cat... (3 Replies)
Discussion started by: sreeram4
3 Replies

2. Cybersecurity

Firewall

Hey Guys, I am looking for a good firewall software to implement in medium/large office, with at least 150 users. I was hopping you guys could help me on this one. Regards, (4 Replies)
Discussion started by: andrevicente
4 Replies

3. AIX

Firewall

:b:Hi,, How do configure firewall in aix.. similar to linux iptable. Rgards, k.sumathi. (3 Replies)
Discussion started by: sumathi.k
3 Replies

4. Solaris

SSH/Firewall issue

I am a complete UNIX neophyte with the unenviable task of trying to pseudo manage two SUN boxes with an unknown past. I was not responsible for setting them up, anything that was done on them previously, and have no means of figuring out anything that was done to them. So far I have changed the... (4 Replies)
Discussion started by: tawnos42
4 Replies

5. Cybersecurity

help with firewall

hi everyone I am a newbee to firewall scripting. cannot understand how to write rules per host. in ip6tables. anyone plz:( (2 Replies)
Discussion started by: xecutioner
2 Replies

6. Solaris

How to open SSH port on firewall?

Hi, So that potential responders will have an idea of what they're dealing with let me say that while I am a UNIX newbie I have been in IT for over 10 years. We have several SUN boxes running ver 5 of the OS that have been sitting dormant for some time as they were part of a now defunct... (3 Replies)
Discussion started by: pjewett
3 Replies

7. Cybersecurity

Looking Out from Behind a Firewall

Would it be possible to restrict access to internet pages in the following way? A machine: IP = 128.1.17.123 Only pages from domains of the type "go.jp" and "ne.jp" are viewable. All others are not viewable or only partly viewable. B machine: IP = 128.1.17.146 Regardless of the domain... (4 Replies)
Discussion started by: mntamago
4 Replies

8. Cybersecurity

What Firewall do you use?

Just out of curiosity, I see a lot of people here use Linux IPTables as their firewall. Anyone here use something else like OpenBSD PF or *BSD IPF, IPFW? I'm quite fond of OpenBSD and their Packet Filters. I find their syntax much easier to manage and from my personal experience, I find them... (5 Replies)
Discussion started by: tarballed
5 Replies
Login or Register to Ask a Question