PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > comp.security.ssh > Putty - pscp - "Connection Time out"
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.security.ssh SSH secure remote login and tunneling tools.

Putty - pscp - "Connection Time out"

Réponse
 
LinkBack Outils de la discussion
Vieux 11/10/2006, 14h38   #1 (permalink)
vladimir.mcbadger@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Putty - pscp - "Connection Time out"

I have created a SSH tunnel to an external (i.e. hosted outside my home
network) and have succesfully remotely logged onto the server.

When I try to use the pscp command to copy a file to the server I get
the error "Fatal: Network Error: Connection timed out"

Can anyone advise on what may be going wrong / how to resolve it?

TIA

  Réponse avec citation
Vieux 11/10/2006, 15h28   #2 (permalink)
vladimir.mcbadger@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Putty - pscp - "Connection Time out"


Todd H. wrote:
> vladimir.mcbadger@gmail.com writes:
>
> > I have created a SSH tunnel to an external (i.e. hosted outside my home
> > network) and have succesfully remotely logged onto the server.
> >
> > When I try to use the pscp command to copy a file to the server I get
> > the error "Fatal: Network Error: Connection timed out"
> >
> > Can anyone advise on what may be going wrong / how to resolve it?

>
> Does the ssh server run on a non-standard port?
>
> Can you copy the syntax you are attempting here?
>


Yes the ssh server does run on a non-standard port '6024'

The syntax is

pscp C:\Temp\TestFile1.txt vlad789@www.mcbadger.co.uk:/tmp

I have also tried

pscp C:\Temp\TestFile1.txt vlad789@www.mcbadger.co.uk:

The path on my c: is correct and the file is present and a new file so
should not have any problematic attributes.

  Réponse avec citation
Vieux 11/10/2006, 15h35   #3 (permalink)
Todd H.
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Putty - pscp - "Connection Time out"

vladimir.mcbadger@gmail.com writes:

> I have created a SSH tunnel to an external (i.e. hosted outside my home
> network) and have succesfully remotely logged onto the server.
>
> When I try to use the pscp command to copy a file to the server I get
> the error "Fatal: Network Error: Connection timed out"
>
> Can anyone advise on what may be going wrong / how to resolve it?


Does the ssh server run on a non-standard port?

Can you copy the syntax you are attempting here?



--
Todd H.
http://www.toddh.net/
  Réponse avec citation
Vieux 11/10/2006, 16h03   #4 (permalink)
Todd H.
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Putty - pscp - "Connection Time out"

vladimir.mcbadger@gmail.com writes:

> Todd H. wrote:
> > vladimir.mcbadger@gmail.com writes:
> >
> > > I have created a SSH tunnel to an external (i.e. hosted outside my home
> > > network) and have succesfully remotely logged onto the server.
> > >
> > > When I try to use the pscp command to copy a file to the server I get
> > > the error "Fatal: Network Error: Connection timed out"
> > >
> > > Can anyone advise on what may be going wrong / how to resolve it?

> >
> > Does the ssh server run on a non-standard port?
> >
> > Can you copy the syntax you are attempting here?
> >

>
> Yes the ssh server does run on a non-standard port '6024'
>
> The syntax is
>
> pscp C:\Temp\TestFile1.txt vlad789@www.mcbadger.co.uk:/tmp
>
> I have also tried
>
> pscp C:\Temp\TestFile1.txt vlad789@www.mcbadger.co.uk:
>
> The path on my c: is correct and the file is present and a new file so
> should not have any problematic attributes.


Unlike command line scp, pscp lacks a -P port parameter (at least hte
version I have handy), and hence has never bee my choice when dealing
with an ssh server running on anything but tcp/22.

So you have two options. If you prefer command line, you can use real
openssh if you get cygwin.com. It's free. Cygwin is great to have
for other reasons to as it implements a veyr nice unix environment in
windows. The ssh client is part of the openssh package. Once you get
to the package selection screen of the cygwin installer, scroll down
to the "net" section and then scroll down to openssh, and in the New
column, left click to change "skip" to be the version number of the
latest. Once installed, first up the cygwin shell, then your command
line simply becomes

scp -P 6024 /cygdrive/c/Temp/TestFile1.txt vlad789@www.mcbadger.co.uk:/tmp

Option 2, is to grab a copy of the nice GUI scp client Winscp.
http://sourceforge.net/projects/winscp/

and be sure to include port 6024 in the session options.

Best Regards,
--
Todd H.
http://www.toddh.net/
  Réponse avec citation
Vieux 11/10/2006, 16h30   #5 (permalink)
Simon Tatham
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Putty - pscp - "Connection Time out"

Todd H. <comp@toddh.net> wrote:
> Unlike command line scp, pscp lacks a -P port parameter (at least hte
> version I have handy),


What version is that? The -P option has been in PSCP since version
0.48, which was the first released version of PSCP at all!
--
Simon Tatham These are my opinions. There are many
<anakin@pobox.com> like them but these ones are mine.
  Réponse avec citation
Vieux 11/10/2006, 16h39   #6 (permalink)
Chuck
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Putty - pscp - "Connection Time out"

vladimir.mcbadger@gmail.com wrote:
> Todd H. wrote:
>> vladimir.mcbadger@gmail.com writes:
>>
>>> I have created a SSH tunnel to an external (i.e. hosted outside my home
>>> network) and have succesfully remotely logged onto the server.
>>>
>>> When I try to use the pscp command to copy a file to the server I get
>>> the error "Fatal: Network Error: Connection timed out"
>>>
>>> Can anyone advise on what may be going wrong / how to resolve it?

>> Does the ssh server run on a non-standard port?
>>
>> Can you copy the syntax you are attempting here?
>>

>
> Yes the ssh server does run on a non-standard port '6024'
>
> The syntax is
>
> pscp C:\Temp\TestFile1.txt vlad789@www.mcbadger.co.uk:/tmp
>
> I have also tried
>
> pscp C:\Temp\TestFile1.txt vlad789@www.mcbadger.co.uk:
>
> The path on my c: is correct and the file is present and a new file so
> should not have any problematic attributes.
>


Try pscp -P 6024 C:\Temp\TestFile1.txt vlad789@www.mcbadger.co.uk:/tmp
  Réponse avec citation
Vieux 11/10/2006, 16h59   #7 (permalink)
Chuck
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Putty - pscp - "Connection Time out"

Todd H. wrote:
> Simon Tatham <anakin@pobox.com> writes:
>
>> Todd H. <comp@toddh.net> wrote:
>>> Unlike command line scp, pscp lacks a -P port parameter (at least hte
>>> version I have handy),

>> What version is that? The -P option has been in PSCP since version
>> 0.48, which was the first released version of PSCP at all!

>
> Heh... that's the one! Typing long pscp commands in cmd.exe ws
> something I only had patience for once before jupming to cygwin. :-)
>
> Thanks for the info though!
>


Install the cygwin version of openssh. Then openssh equivalent command
won't be much different though.
  Réponse avec citation
Vieux 11/10/2006, 17h01   #8 (permalink)
Todd H.
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Putty - pscp - "Connection Time out"

Simon Tatham <anakin@pobox.com> writes:

> Todd H. <comp@toddh.net> wrote:
> > Unlike command line scp, pscp lacks a -P port parameter (at least hte
> > version I have handy),

>
> What version is that? The -P option has been in PSCP since version
> 0.48, which was the first released version of PSCP at all!


Heh... that's the one! Typing long pscp commands in cmd.exe ws
something I only had patience for once before jupming to cygwin. :-)

Thanks for the info though!

--
Todd H.
http://www.toddh.net/
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 02h17.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,13653 seconds with 16 queries