Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

Biju

Re: PuTTY notes on matter

martin wrote:

Thanks for your info. I have meanwhile found this all too :-) I have also implemented it already. So please, wait for the next release.
Cool !!!!
martin

Re: PuTTY notes on matter

SFTP URLs wrote:

If WinSCP could handle command line argument of the form
winscp342.exe sftp://[<userid>@]<server>[:<port>][<path>]
example:-
winscp342.exe scp://homepc/
winscp342.exe sftp://biju@homepc/home/biju/
winscp342.exe scp://biju@homepc/home/biju/
winscp342.exe scp://biju@homepc:22/home/biju/
...

Thanks for your info. I have meanwhile found this all too :-) I have also implemented it already. So please, wait for the next release.
SFTP URLs

Re: PuTTY notes on matter

If WinSCP could handle command line argument of the form
winscp342.exe sftp://[<userid>@]<server>[:<port>][<path>]
example:-
winscp342.exe scp://homepc/
winscp342.exe sftp://biju@homepc/home/biju/
winscp342.exe scp://biju@homepc/home/biju/
winscp342.exe scp://biju@homepc:22/home/biju/

We could register as a protocol on windows to get it started from a browser url click

Or else it may be of the type
winscp342.exe -url sftp://[<userid>@]<server>[:<port>][<path>]
like winscp342.exe -url sftp://biju@mypc.com/home/biju/

WinSCP should also ask username if not found
and there should be also scp://

I just checked whether winscp342 support it
And found no.
This is what we get now
winscp342.exe sftp://biju@homepc/home/biju/
from command line we get error

--------------- error message
Authentication log (see session log for details):
Using username "sftp".
Access denied
Access denied

Server sent disconnect message
type 2 (SSH_DISCONNECT_PROTOCOL_ERROR):
"Too many authentication failures for sftp"
---------------


after registering as protocol I am getting
"host not found" error from WinSCP
if I click a url of sftp:// in browser

following is my registry setting sftp protocol
I created it by copy and modify of
HKEY_CLASSES_ROOT\callto


---- my *.reg file ---

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\sftp]
@="URL: SFTP Protocol"
"URL Protocol"=""
"EditFlags"=hex:02,00,00,00

[HKEY_CLASSES_ROOT\sftp\DefaultIcon]
@="\"C:\\Install\\ssh\\winscp342.exe\",0"

[HKEY_CLASSES_ROOT\sftp\shell]

[HKEY_CLASSES_ROOT\sftp\shell\open]

[HKEY_CLASSES_ROOT\sftp\shell\open\command]
@="\"C:\\Install\\ssh\\winscp342.exe\" %1"

---- *.reg file endis ---

change C:\\Install\\ssh\\winscp342.exe
to your location
silvestrij

PuTTY notes on matter

FYI, I'd seen this awhile ago, and it has links on the matter, including the RFC draft. This would be a pretty cool idea, I must say, so long as I could use it from MozFirebird ;). Although in all honesty, I'm perfectly happy just using the icon on my desktop - and I only use Windows at work.

An aside: Thank you for all your work on this wonderful program. Having discovered it awhile ago, I was able to completely stop the use of FTP on our servers, and roll this out on all the computers used for Comp.Sci. dev. at our school, and rest easier at night, knowing we can just use SSH :). Finally, WS_FTP LE has been put to pasture, and good, open source software is being used. Oh yeah, and perhaps for your edification, this means your software is being used reliably on about 90 computers, mine included.
Biju

Re: SFTP URLs

is it something like
sftp://biju@myserver.com/home/biju/
martin

Re: SFTP URLs

OK, once I find out how to do this, I'll definitely implement it. I suppose that it would not be difficult.
rakslice

SFTP URLs

Some way of having WinSCP handle SFTP URLs would be nice. (I use them all the time in KDE's Konqueror on my linux box.) This is probably just a matter of a shell hook registry tweak, but I don't know enough about it to do it myself.