ssh connection


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users ssh connection
# 1  
Old 11-10-2003
Question ssh connect

pls how do i connect to my freebsd server via ssh from a windows client?? I have sshd running on d freebsd server.
# 2  
Old 11-10-2003
I haven't used it myself, but I know several others who have a program called "putty" on their laptops and use it to connect to various Unix servers. I believe they said it will do ssh.
# 3  
Old 11-10-2003
putty is an excellent ssh client for windows. go here: www.openssh.org
# 4  
Old 11-11-2003
Error ssh connection

I already have ssh running on d linux 8 srevr, but whenever i try a remote connection from putty 2 d server, d server refuses d conection.
What shuld my connection settings be like on putty?
# 5  
Old 11-11-2003
once you putty installed you should be able to connect to your linux box without any settings on putty unless you have a firewall or tcpwrapper on your linux machine preventing ssh connection.

on your linux machine, check your /etc/hosts.allow
or /etc/hosts.deny for any restriction rules.

if you still can not ssh to your linux machine check /var/log/messages for any error message and post back.
# 6  
Old 11-12-2003
Start with some basic troubleshooting...

1. View your syslog/system messages for obvious errors.

2. Make sure you are actually getting to the system from your client. If you can get to the system through some other means, run a netstat loop or snoop to watch for you IP address inbound on your ssh port. See the man page for snoop or loop the following:

while :
do
netstat -an | grep -iv list | grep <your inbound IP>
done

3. You could also start sshd in debug mode (sshd -D) or even troubleshoot on a differing port (sshd -D -p <someport> -d).

Cheers,

Keith

Last edited by kduffin; 11-17-2003 at 10:42 PM..
# 7  
Old 11-12-2003
Putty isn't bad. I prefer SecureCRT (http://www.vandkye.com). You could also put cygwin on your box (http://www.cygwin.com) - that would even let up have a ssh daemon running on your windows box. The other benefit is being able to use XFree if you don't have an X emulator and have the need.

Cheers,

Keith

Last edited by kduffin; 11-17-2003 at 10:43 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

9 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. BSD

Connection SSH to remote by ssh

Hello guys! I am setting up a script to access a unix remote server. My problem is that when I put the ssh line "my host", the script does not wait for the server response asking for the password to execute the line in which I put the password, that is, I need to put a form in which script has a... (1 Reply)
Discussion started by: aroucasp
1 Replies

3. UNIX for Advanced & Expert Users

Connection-less using ssh

Hi! I know its a recurring problem, but I am failing to sort this out, I have two servers ( A and B), in which I am able to connect without having to put password from server B to server A, but the connect from server A to server B. takes 7 minutes to establish??? on Server A, I have the... (7 Replies)
Discussion started by: fretagi
7 Replies

4. UNIX for Advanced & Expert Users

How keep running a program n an another computer via a connection ssh when the connection is closed?

Hi everybody, I am running a program on a supercomputer via my personal computer through a ssh connection. My program take more than a day to run, so when I left work with my PC I stop the connection with the supercomputer and the program stop. I am wondering if someone know how I can manage... (2 Replies)
Discussion started by: TomTomGre
2 Replies

5. Red Hat

Ssh connection

hi, I have ssh connection between two servers for a functional Id for SFTP purpose. I aim is to setup this for is only work when below command is used by a .ksh script. ssh userid@servername:/directory Unfortunately users who have access to functional id are manually using above command... (2 Replies)
Discussion started by: maddy26615
2 Replies

6. AIX

ssh connection closed by ip

Hi i am trying to do ssh without password between 2 aix servers. before i generate the keys, i am able to do the ssh & it is asking for password & i am able to login. ======================== # ssh 172.29.150.77 root@172.29.150.77's password: ======================== but when i generate rsa... (1 Reply)
Discussion started by: makarand.bhatka
1 Replies

7. Shell Programming and Scripting

SSH Connection To Oracle

My problem is this....:eek: Platform=Sun Solaris UNIX / Oracle 10g 1) I'm trying to SSH from my local system A to remote system B 2) Once connected, I need to sudo to ID that has the ability to connect to the Oracle database 3) Then run a script that connects via sqlplus and... (2 Replies)
Discussion started by: khand67
2 Replies

8. Solaris

ssh connection failed.

When i was connecting the Solaris system by sftp . i got the following error. "Warning: child process (/usr/local/bin/ssh2) exited with code 74." Could any one help, how to fix it ? (1 Reply)
Discussion started by: nag.mi2000
1 Replies

9. UNIX for Dummies Questions & Answers

ssh connection

Hi @ all! I've a problem with a ssh-connection. I want to establish a ssh-connection between an AIX-System and an SunOS-System without a password. The Users are different one's. Command : user1@server1 /home/user1 > ssh user2@server2 Is it possible? Greetings olli-h (1 Reply)
Discussion started by: olli-h
1 Replies
Login or Register to Ask a Question