Visit Our UNIX and Linux User Community


Transfer files from windows to solaris with winscp (file protocol:SFTP)


 
Thread Tools Search this Thread
Operating Systems Solaris Transfer files from windows to solaris with winscp (file protocol:SFTP)
# 1  
Old 04-30-2012
Transfer files from windows to solaris with winscp (file protocol:SFTP)

Hello,

I have a couple of zip files to be copied from my local drive to a folder in solaris10 residing in a VM ware. i am using WINSCP, I tried to get hold of
the solaris hostname or ip using ifconfig -a , hostname|nslookup etc. when i create a new session in WINSCP using that IP and port no:22,using SFTP,
i am unable to connect to the Solaris. everytime it thows this error messgae "Network error:Connection refused". I have a Xp host system and Solaris as my guest OS in my vmware.

There'is any solution pls?

Please find in attachment thes result from : nestat -r

why copy/paste dont work between just solaris and other os? there's some problems with vmware tools?

Thank you
# 2  
Old 04-30-2012
Can you ping Solaris machine from your Windows workstation?
# 3  
Old 04-30-2012
if you can ping, is the sshd running on the solaris machine?
# 4  
Old 04-30-2012
no i cant coz my ip in my windows workstation are provided form ISP!
# 5  
Old 04-30-2012
Hi there!!

When you install a virtual machine on VMWare, it gives you option to select network type: Host-Only, Bridged, NAT. If not selected, it defaults to NAT. Change this to Host-Only. A new virtual interface will be created on your XP host and it should get an IP assigned (VMware runs DHCP by default) within the same subnet as your vm.

You should be able to do WinSCP and ping to the vm then. Smilie
# 6  
Old 05-06-2012
Thanks admin_xor

ill reinstall it and ill keep you informed
# 7  
Old 05-07-2012
You don´t need reinstall it, only change the configuration on vmware or add a new interface and configure it. After that you could ping your server from your windows computer. You have do this to enable ftp in the solaris server:

Run the vi command to modify the /etc/ftpd/ftpusers file.
Add # to the left of root to comment out this line. The following message will be displayed:
# ident "@(#)ftpusers 1.5 04/02/20 SMI"
#
# List of users denied access to the FTP server, see ftpusers(4)
#
#root
daemon
bin
sys
...
Press ESC. Press Shift+;. Enter wq!. Then, press Enter to forcibly save the file and exit.

If you want you can use gedit rather than vi, it will be more simple for you.

Regards.

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Help with a script to transfer files from Solaris to windows

Hi Please can you tell me what could be wrong with the following scriptto transfer files from solaris 10 to windows machine: #!/bin/sh HOST=<IP> USER=administrator PASSWD=xyz123zyx /usr/bin/ftp -inv <<EOF connect $HOST user $USER $PASSWD cd Documents binary mput *.sh bye EOF (23 Replies)
Discussion started by: fretagi
23 Replies

2. Shell Programming and Scripting

Script to transfer files from Solaris to windows

Hi All Please can you help, I´ve wrote the following script on a solaris 10 server to transfer files to a windows machine. #!/usr/bin/sh cd /moneta_polled01/download HOST=10.100.4.72 USER=user1 PASSWD=V7stop /usr/bin/ftp -v $HOST <<EOF user $USER $PASSWD cd tmp binary put... (7 Replies)
Discussion started by: fretagi
7 Replies

3. IP Networking

How to transfer files from UNIX server to windows machine or vice versa using ftp or sftp commands?

hi, i want to write a shell script code which transfers files from a directory in unix server to a directory in a windows machine.. can any1 give me a sample code which uses ftp or sftp command.. thanks very much, (3 Replies)
Discussion started by: Little
3 Replies

4. Shell Programming and Scripting

Transfer files from linux server to windows using secure ftp (sftp)

HI, I have to transfer files from linux server to windows using secure ftp (sftp) .Kindly help me out. (3 Replies)
Discussion started by: manushi88
3 Replies

5. Solaris

File transfer from Windows to Solaris.

I have a file on my desktop which is windows based. I make a telnet session with a Solaris machine that too with root access by using putty. I want to transfer a file there on Solaris machine. Is there a mean to transfer this file on solaris machine. If now can it be known by using telnet... (6 Replies)
Discussion started by: nixhead
6 Replies

6. Shell Programming and Scripting

Unable to transfer files from Windows 2000 Server to Sun Solaris..

Dear Friends, I need to transfer few files from a Windows 2000 server to Sun Solaris system, connected in the same network. This copy should be done as a batch job without asking for password to be entered every time. How to make this possible ??? At present I am using cygwin in my laptop... (4 Replies)
Discussion started by: ks_reddy
4 Replies

7. Solaris

Transfer files from Solaris to windows

Please let me know a efficient way to transfer files from a solaris to a windows machine. Total size of data is 800GB. (3 Replies)
Discussion started by: pingmeback
3 Replies

8. AIX

File access issue through sftp/winscp

Hi, I have SSH where I want to restrict browsing for a user "drrep" to the assigned home directory only.So I have put a entry in the sshd_config file as “AllowFiles "drrep:/fcrarch/fl02r/*" as shown in the scrren below. But due to this setting none of the users are able to login through winscp... (0 Replies)
Discussion started by: dwiravi
0 Replies

9. HP-UX

SFTP Protocol: How to transfer the file in PC Format

Hi, We are facing issue with files transfered using SFTP in Hp-UX. The transfered files are in Unix Format. That is, file format as UNIX (LF) instead of a PC format (CR & LF). How can we achieve file transfers as PC format using SFTP? Your help and input will be highly appreciated. ... (2 Replies)
Discussion started by: brap45
2 Replies

10. Shell Programming and Scripting

Secure File Transfer Protocol

Hi, Is there any protocol other than SFTP to transfer the file using secured connection SSH. ? Regards, Arthik (2 Replies)
Discussion started by: arthikbabu
2 Replies

Featured Tech Videos