How to open SSH port on firewall?


 
Thread Tools Search this Thread
Operating Systems Solaris How to open SSH port on firewall?
# 1  
Old 02-18-2008
Tools 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 project. The setup and maintenance of said boxes was all outsourced so we have no internal expertise with them.

I'm a project manager with very little financial resources for one of my current projects...setting up an intranet.

I'm trying to give an our web vendor external SSH access to our SUN V220 and while it is up and on our network I am unable to telnet or SSH into it. My assumption is that these services are off/ports closed.

I need to know how to open the SSH port and provide access to this vendor who is outside of our network.

I know I can pop a laptop on the unit and get in but I'm unsure of what to do next. From what I've been able to gather so far the setting I'm looking for may be in the /etc/inet.config file. Even if that's true I do not know how to properly edit the file to open the SSH port.

Any help would be GREATLY appreciated as I'm getting nowhere slow so far.

Thanks!

Last edited by pjewett; 02-18-2008 at 10:30 AM..
# 2  
Old 02-18-2008
which solaris version is it EXACTLY? please post the output of:
"cat /etc/release"

solaris 8 came without ssh (afair). so maybe install the latest version of solaris on your server(s) which is solaris 10 update 4.
the telnetd on solaris 8 is startet via inetd.... have a look in the inetd conf file (/etc/inet/inetd.conf) maybe telnetd is commented out and therefore won't start if you try to telnet to the box.

hth,
DN2
# 3  
Old 02-18-2008
Thanks but if I don't have the resources to turn on SSH than I don't have them to install a different UNIX OS on the box.


I appreciate the tip that SSH doesn't exist in our version. I'll continue to investigate how to enable telnet on the box now. How do I edit that inetconfig file once I find it?
# 4  
Old 02-18-2008
you don't need ssh to install a new os on the server. for that you need a serial connection to the box and the cd's to boot the server...
to edit files you can use "vi"... read the manpage for vi on how to use it...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Unable to open firewall port for external traffic.

Below is what i did to open the firewall port on # sudo firewall-cmd --zone=public --add-port=27012/tcp --permanent Warning: ALREADY_ENABLED: 27012:tcp success # sudo firewall-cmd --reload success # firewall-cmd --list-all public target: default icmp-block-inversion: no ... (10 Replies)
Discussion started by: mohtashims
10 Replies

2. Shell Programming and Scripting

How to check the IP:PORT firewall uses?

I have my firewall process running # ps -ef | grep firewall root 21169 1 0 08:50 ? 00:00:00 /usr/bin/python -Es /usr/sbin/firewalld --nofork --nopid I wish to know what ip : port number it is using. Can you please tell me how can i find out ? I tried the below command... (4 Replies)
Discussion started by: mohtashims
4 Replies

3. Shell Programming and Scripting

Good way to check firewall port on Linux centos 7

Hi, I need to know what kind of firewall settings does the linux box have? Is port 25 blocked in any way? Linux techx 3.10.0-514.10.2.el7.x86_64 #1 SMP Fri Mar 3 00:04:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux I'm coming from this thread. (1 Reply)
Discussion started by: mohtashims
1 Replies

4. UNIX for Dummies Questions & Answers

Open a ssh tunnel on particular port

Hello Community, We have Installed a LDAP Directory behind a Firewall with redirectory port on an Ubuntu virtual machine. The virtual machine is installed on an Ubuntu physical server, that hosts many other virtual machine. All the virtual machine are only joinable from the intern network. My... (11 Replies)
Discussion started by: tessa226
11 Replies

5. UNIX for Dummies Questions & Answers

Rsync port and firewall

hi guys I doing some collocation for a customer, customer requested to use other port for ssh not the default one. OK no problem and customer will be using rsync to sync backups among other things I know we have to open port let's say port 5999 for ssh since we are using that one now but I... (1 Reply)
Discussion started by: karlochacon
1 Replies

6. IP Networking

Tcp ip port open but no such process (merged: Release A Port)

i want to kill a tcp connection by killing its pid with netstat -an i got the tcp ip connection on port 5914 but when i type ps -a or ps-e there is not such process running on port 5914 is it possible that because i do not log on with proper user account i can not see that process running? (30 Replies)
Discussion started by: alinamadchian
30 Replies

7. IP Networking

Is there any way to add an exception for a port in the firewall setting, permanently?

Hello, I want to add a port in the firewall exception list so that my application can be accessed over network even if firewall is disabled. I am using iptables command to add exception. The problem is, after setting the rule if I change the firewall setting i.e. on/off then it is overwriting... (1 Reply)
Discussion started by: senrooy
1 Replies

8. Linux

using firewall to block port

Hi, I will like to allow access to the mysql port (3306) to certain IP address. All other IP's should be automatically blocked. What is the best way to do this? (8 Replies)
Discussion started by: shantanuo
8 Replies

9. OS X (Apple)

open ssh port (22) to connect to other box

Hi Do I have to open my ssh port if I like to connect to another machine? - if yes, how? Or is that only if I want to access my one computer from the outside? I run Mac OS 10.4 and like to access a unix box on the other side. /andreas (1 Reply)
Discussion started by: lulle
1 Replies

10. Linux

can ping without firewall; no port 631

Well, since I wrote the below, I've learned a little more about Samba, and got them to at least acknowledge each other. Still can't use Gaurd dog. Still cant print from one to the other. I'm learning I'm learning I recently installed mepis 7 on both my laptop and laptop. (I came... (0 Replies)
Discussion started by: Sonshyne5
0 Replies
Login or Register to Ask a Question