Re: sftp on different port than 22?

Stefan Teuscher <[email protected]>
Newsgroups gmane.comp.web.sitecopy
Message-ID <[email protected]>
Hi Nobuyuki,

thanks for the hint.
Unfortunately it still does not work.
After I added
rcp "sftp -oPort=21"
and start "sitecopy --update mytestsite" it runs through very quick, but 
does not set up a real connection to the server, even don't ask for the 
password.
But sitecopy pretends it created a new directory and then pretends it 
uploaded a file into it.
After that it says: "An error occured".
In reality it didn't made any change on the server.

When I start sitecopy --update ... a second time it says:
sitecopy: Error: Corrupt site storage file for 'myteststite':
sitecopy: XML parse error at line 11: junk after document element
sitecopy: Skipping site 'mytestsite'.
sitecopy: No valid sites specified.

It tried a lot: sitecopy --init ... etc.
But always the same as decribed above.

A fix of this bug would be nice but it is not that urgent.
For me it is imporant that sitecopy runs on port 22 perfectly 
(unfortunately I cannot use sitecopy in my office, since I only can use 
port 21 there).

Thanks

Stefan


Nobuyuki Tsuchimura wrote:

>   Hi, 
> 
> 
>>My first test in the office:
>>Because of different firewall reasons in my office I had to change the 
>>ssh-port at my server from port 22 to 21.
> 
> ...
> 
>>My second test at home:
>>First the same problem as described above.
>>But at home I have no firewall problems and I can use any port I want. 
>>So I reconfigured my server to work ssh on port 22.
>>Result: All works correct! Fine!
>>But: The connection was at port 22, not 21 which I configured at 
>>.sitecopyrc.
>>
>>So it seems that sfpt can only connect on port 22 even when reconfigured 
>>in .sitecopyrc to another port.
> 
> 
>   Try 
>    rcp "sftp -oPort=21"
> in .sitecopyrc. "password" and "port" directives are ignored.
> (Sorry, I'm too busy to test sitecopy 0.15.0.)
> 
> Regards,
> -- Nobuyuki Tsuchimura
> 
_______________________________________________
sitecopy maillist  -  [email protected]
http://dav.lyra.org/mailman/listinfo/sitecopy
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.