Sponsored Content
Special Forums Windows & DOS: Issues & Discussions Passwordless login from Linux server to windows server Post 302961663 by RavinderSingh13 on Wednesday 2nd of December 2015 07:34:05 AM
Old 12-02-2015
Hello pratria,

Welcome to forums, by seeing your error which is:
Quote:
it says connection refused with port 22.
While on the server, check to make sure sshd is actually running, and is listening on port 22:
Code:
On UNIX:
netstat -anp | grep sshd
ON Windows(in cmd as admin you should run):
netstat -ab | find ":22"

If you don't get results, or they don't show you're listening on tcp 0.0.0.0:22... fix that. If you DO show that sshd is running and is listening on tcp port 22, check to make sure there's no firewall rule getting in the way. You could take it as a starting point or so, do share with us how it goes for you.

Thanks,
R. Singh

Last edited by RavinderSingh13; 12-02-2015 at 08:46 AM.. Reason: Adding windows command to solution now.
 

10 More Discussions You Might Find Interesting

1. IP Networking

networking linux to windows server

I have a linux 7 machine and i want to able to connect it to my windows 98 server.What do i do.They can ping each other but how do i make them see each other e.g be able to copy and send files to each other and surf??? how do i set up netscape to connect to my servers web server??? (2 Replies)
Discussion started by: perleo
2 Replies

2. Shell Programming and Scripting

passwordless login from a server to another server

Hi guys I am logged into one solaris server and I want to ssh other solaris servers and perform some commands. If I use script it asks for password. How to login without supplying password and execute some commands using script? I don want to use expect utility. Please help (2 Replies)
Discussion started by: johnl
2 Replies

3. Linux

Not able to login to my Linux server

Hi, I am not able to login on my linux server through my some user :- when i login through root and try to login it gives the following error :- #su - oracle su: incorrect password i have check the entry of oracle user is there in /etc/passwd file also... (11 Replies)
Discussion started by: amity
11 Replies

4. HP-UX

Unable To Perform A "Passwordless" SSH Login To A Server

Greetings! I am trying to perform a passwordless SSH login from a HPUX 11.31 client to a HPUX 11.31 server. Whenever I do a "ssh -l root serverA" from the client, I am prompted for a password. Giving the password, I am able to successfully login. However I am trying to accomplish a... (9 Replies)
Discussion started by: Rob Sandifer
9 Replies

5. Shell Programming and Scripting

Unix shell script to Copy files from one Windows server to another Windows server.

Can anybody please help me on how to code for the below requirement: I need to write a shell script (on different unix server) to copy files from multiple folders (ex. BRN-000001) from one windows server (\\boldls-mwe-dev4)to a different windows server(\\rrwin-ewhd04.ecomad.int). This shell... (4 Replies)
Discussion started by: SravsJaya
4 Replies

6. Shell Programming and Scripting

Connect (SSH) to Windows server via Linux server through a script and passing command.. but failing

I am trying to connect to Windows server via Linux server through a script and run two commands " cd and ls " But its giving me error saying " could not start the program" followed by the command name i specify e g : "cd" i am trying in this manner " ssh username@servername "cd... (5 Replies)
Discussion started by: sunil seelam
5 Replies

7. Shell Programming and Scripting

Copy files from Linux server to Windows server

Hi All, I am generating report in a Linux server and once the report is generated the report(.txt file) needs to be automatically saved in a Windows servers. So i am looking for a script to transfer the file automatically from Linux server to Windows server? Please advise. Thanks... (3 Replies)
Discussion started by: arunmanas
3 Replies

8. Linux

How to connect Linux server (configure two way authentication) with Windows server?

Hi my name is Manju. ->I have configure the two way authentication on my linux server. ->Now I am able to apply two way authenticator on particuler user. ->Now I want to map this linux server to my AD server. ->Kindly tell me how to map AD(Active Directory) with this linux server. ... (0 Replies)
Discussion started by: manjusharma128
0 Replies

9. Windows & DOS: Issues & Discussions

Passwordless sftp connection from UNIX to windows server

HI , I am trying to make a passwordless sftp connection from a unix server to windows server I have used a existing script which is like this cd /home150/adm/.ssh/ ssh-agent /usr/bin/ksh <<EOF ssh-add IDBNEWKEY ssh-add -l sftp IDBUSER@abc.com cd /home/IDBUSER/Share/IDB/ rm ${FILE}... (0 Replies)
Discussion started by: Jcpratap
0 Replies

10. Shell Programming and Scripting

Do I require remote login access to a windows server to transfer files from a UNIX server

Hi All I need to transfer a file from a UNIX server to a windows server. I saw that it is possible to do this using scp command by looking at the forum listed below: ... (2 Replies)
Discussion started by: vx04
2 Replies
bubbros-server(6)						   Games Manual 						 bubbros-server(6)

NAME
bubbros-server - the bub-n-bros server. SYNOPSIS
bubbros-server [ level-file.bin ] [options] DESCRIPTION
bubbros-server starts an http server that acts as a control panel for the server. The server listens on port 8000 by default. The url for the control panel is http://server:port/0xN where 0xN is a random hex number (acts as minimal protection). This url is printed when the server starts. You can start and view games and kill the server from this panel. The control panel also allows you to type in the address of a server to connect to, the script will then open a client to that server. The http server also servers java applet clients for those players who wish to use one. When a game is started the script opens a port for the game server. This port can then be connected to by a client. Clients autodetect servers running on the local network with UDP ping on port 8056. Connection forming The client forms a tcp connection to the server. Or, when using the metaserver, the server forms a connection to the client. If this fails, the client and server try a simultaneous SYN connect. This sometimes works if the server and client are behind firewalls. The server then tries to transmit the data over udp. If it gets no response from the client it will fall back to the existing tcp connection. OPTIONS
-b N, --begin N, --start N Start at board (level) number N. The default is 1. See also the -s option. -h, --help Display help. -i, --infinite Restart the server at the end of the game. Normally the server quits after a certain period of inactivity. This is useful when used with the -m option to make a public server that is available for a long time. -l N, --lives N Limit number of lives to N. If this option is not specified the number of lives will be infinite. -m, --metaserver Register server with the Metaserver (currently) at codespeak.net:8050. This makes your server visible to everybody, and also facil- itates joining through a fascistic firewall. --port TYPE=N Sets default listening ports. If type is LISTEN , sets the game server port to N. The game server port is chosen randomly by default. If the type is HTTP , sets the http server port to N. The http server port defaults to 8000. Another port will be chosen if none was specified and 8000 is already in use. The server also listens to UDP ping on port 8056. -s N, --step N Increase board number with N when a board is completed. Defaults to 1. see also the -b option. OUTPUT
The server outputs helpful debug information concerning the http and game servers. SEE ALSO
bubbros(6) bubbros-client(6) December 7, 2007 bubbros-server(6)
All times are GMT -4. The time now is 08:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy