any idea about ssh?


 
Thread Tools Search this Thread
Operating Systems AIX any idea about ssh?
# 1  
Old 08-18-2008
any idea about ssh?

hi

when i tried to connect to other server through ""ssh servername" ...
i am getting following error..

ssh: connect to host nimsrv01 port 22: A remote host refused an attempted connect operation.

what should i do.. any ideas?

thanks
# 2  
Old 08-18-2008
i guess there is no port available between you and that host..
# 3  
Old 08-18-2008
May be ssh is not enabled in the server... may be only the telnet.. is port 23 working? telnet host
# 4  
Old 08-18-2008
can you help me,

how to enable the port 23 in server side.

thanks
# 5  
Old 08-18-2008
Ask your system administrator if there SSH enabled in server. If it is enabled you can use a SSH client PuTTy and connect to the server.

If SSH is not availabled, then the telnet should be available (in normal cases).

You need to any telnet client (may be the one built into windows) and do this:

c:\ telnet hostname <enter>

If telnet enabled, it will ask you for user name password.

You call the system administrator first and find out what are the options to connect to the server and ask for correct details. Once you are comfortable with that, you can come back to the forum and more questions...
# 6  
Old 08-18-2008
thanks guys,

i got solution for this,
shell was disabled in /etc/inetd.conf file.

i enable that, it'working fine.

now i got one more error,

that is :
0042-006 m_mkbosi: (From_Master) connect Error 0
rshd: 0826-813 Permission is denied.

any ideas...

thanks
# 7  
Old 08-18-2008
Are you getting that on the server, I think that would be rsh not ssh related, still adjustable in the /etc/inetd.conf.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Help me in just providing idea about what to be done?

Hi, I am thinking to increase my knowledge towards shell scripting and tcl scripting. The thing is, please suggest me a script which i can code is useful in learning as well as to project it to my team mates and it is helpful to all my office team mates. I'll give you an idea of what we... (4 Replies)
Discussion started by: Syed Imran
4 Replies

2. Shell Programming and Scripting

Script Idea's / Help

Hi there, I'm pretty new to scripting and wondering if anyone had any idea's, scripts or snippets on how I can do the following. I basically want a shell script that will look at all the files in a directory and find all the names and addresses in them then output them to the screen nicely... (12 Replies)
Discussion started by: mrpugster
12 Replies

3. UNIX for Advanced & Expert Users

Need some more idea...urgent

Hi friends.. I am using the below command to search few files from many folders which is under one folder.. i mean let say the path is A/B/C...and inside C...i have 1-10 folder... the below command is working fine.... find /A/B/C -name "*.txt" -o -name "*.csv" -o -name "*.TXT" -o -name... (1 Reply)
Discussion started by: sapan123
1 Replies

4. Shell Programming and Scripting

help... no idea what to use

my issue now is i have a txt file containing a list like below i want to create a script that will add a constant text "Find this name" at the start and "at your directory" at the end. every line should be added by phrase at the start and end. Each line of the file should look like "Find... (4 Replies)
Discussion started by: dakid
4 Replies

5. Shell Programming and Scripting

b-shell: any better idea for this one?Thanks!!

I'm new to the script programming and I have this piece of code (repeatedly used) in my program: while : do ................ ans=`ckyorn -p "Do you want to continue?"` if || || || ; then break elif || ; then echo "Aborting..." exit... (2 Replies)
Discussion started by: bluemoon1
2 Replies

6. Shell Programming and Scripting

Here is an interesting idea...

Does anyone know how to test if an ethernet interface is alive, or accepting connections? Here is the scenario - I have rsc and sc console interfaces on some Suns. There are some sporadic vulnerability scans that send them out to lunch when they run the scans. I have to login to the host and reset... (0 Replies)
Discussion started by: lm_admin_dh
0 Replies

7. Shell Programming and Scripting

any good idea on this?

txt file like this, 1 2 3 4456 a bb c d 3 f e 1 k 32 d m f e 123 m 2 k every line contains 3 or more columns, all the columns are separated by space, and every column includes 1 to 3 character. what I wanna do is deleting the first three columns, and keep the rest no matter how long... (7 Replies)
Discussion started by: fedora
7 Replies

8. Shell Programming and Scripting

Limitations of awk? Good idea? Bad idea?

Keeping in mind that I'm relatively comfortable with programming in general but very new to unix and korn/bourne shell scripts.. I'm using awk on a CSV file, and then performing calculations and operations on specific fields within specific records. The CSV file I'm working with has about 600... (2 Replies)
Discussion started by: yongho
2 Replies

9. Shell Programming and Scripting

An Idea for Tokenizing

One of the monitoring tools in Java is called `jps`, and it monitors all Java processes that are run by the user, an example output would be like this: 3459 Jps 2348 test 2311 Util where the first column represents Process IDs and the second column represents Java processes names.... (8 Replies)
Discussion started by: neked
8 Replies
Login or Register to Ask a Question