Topic "far plugin - couple of questions/problems"

Author Message
vladm

Guest


Hi,

have a couple of questions:

1) is there any way to store default confiiguration? (like compress/sftp vs scp/.. default username?)
2) I creat a new session and store password in the session data instead of entering it each time I connect. Then when I try to coneect - it asks for password anyway. You hit enter and it goes through OK, but what's the point in asking for password when it's already entered before? At least sort of "ask for password everytime" check box (a-la built in ftp plugin) would help, I guess.
3) doing cd /to/nonexistent/dir (from command line) crashes plugin

p.s. 1705 far, latest winscp plugin (9/15/03)

thanks,
Vlad
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
vladm wrote:
1) is there any way to store default confiiguration? (like compress/sftp vs scp/.. default username?)

No.
Quote:
2) I creat a new session and store password in the session data instead of entering it each time I connect. Then when I try to coneect - it asks for password anyway. You hit enter and it goes through OK, but what's the point in asking for password when it's already entered before? At least sort of "ask for password everytime" check box (a-la built in ftp plugin) would help, I guess.

Do you have your password saved in stored session? It is possible. If you do, please try the same thing with WinSCP application. Let me know.

Quote:
3) doing cd /to/nonexistent/dir (from command line) crashes plugin

I'll try it.
_________________
Martin Prikryl
vladm

Guest


prikryl wrote:

Do you have your password saved in stored session? It is possible. If you do, please try the same thing with WinSCP application. Let me know.


I don't have WinSCP installed, I use Putty. But yes, this is what I mean - I have password stored in session data, but when I try to connect it asks for password anyway.

Also, just noticed another bug - "Remember last used directory" flag is unchecked, however it doesn't work - plugin changes "Remote directory" to the last one I was in, each time I connect/work with the host.

Vlad.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
vladm wrote:
I don't have WinSCP installed, I use Putty. But yes, this is what I mean - I have password stored in session data, but when I try to connect it asks for password anyway.

I understand, but it would help me, if you can try it with WinSCP too. So I know if a bug (if any) is in SSH core (common to application and plugin) or if it is specific to the plugin.

Quote:
Also, just noticed another bug - "Remember last used directory" flag is unchecked, however it doesn't work - plugin changes "Remote directory" to the last one I was in, each time I connect/work with the host.

You're right. Thanks. I'll fix it.
_________________
Martin Prikryl
guest

Guest


prikryl wrote:

I understand, but it would help me, if you can try it with WinSCP too. So I know if a bug (if any) is in SSH core (common to application and plugin) or if it is specific to the plugin.


Hi,

ok, I've tried - yes, it does the same thing. What's odd is that you can input anything in that password field and it still let you in using password from session data. But if I dind't store password in the session data, then it asks for "enter password" and I just hit enter, it asks for "_hostname_ session password", so I guess it asks for something different.
Please, note I dont have pagent installed.

Vlad.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Is it possible that you create a test account for me on the server?
_________________
Martin Prikryl
Sergiy Z

Guest


I'm using winscp far plugin 1.2.1 + far 170b5
On my 128kbit/s bandwidth to session starts in 40-50 seconds - it's too march. With Putty it takes 5-10 sec! I tried to connect on 32kbit/s channel - it doesn't work at all (connection breaks during starting the session - 'host hasn't answer for 15 sec')
Sad

PS.
I've tried to use another Far plugin called "scp 0.9.4" and it starts the sessions march quicker - 5-7 sec. on 32kbit/s channel!!!!!

I'm sure you can improve somehow connection proccess to speed up connection time!
Guest




Sergiy Z wrote:

On my 128kbit/s bandwidth to session starts in 40-50 seconds - it's too MUCH.


sorry for spelling errors. Smile [/b]
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Sergiy Z wrote:
I'm using winscp far plugin 1.2.1 + far 170b5
On my 128kbit/s bandwidth to session starts in 40-50 seconds - it's too march. With Putty it takes 5-10 sec! I tried to connect on 32kbit/s channel - it doesn't work at all (connection breaks during starting the session - 'host hasn't answer for 15 sec')
Sad

What protocol? SCP or SFTP?
_________________
Martin Prikryl
Sergiy Z

Guest


prikryl wrote:
What protocol? SCP or SFTP?

SCP

I've tried to change timeout paramter to 80 sec. but I can't connect even in this case. Sad
I've got 'Session started.' and waiting, waiting ....

Putty and scp plugin connects in 5-10 sec.!!!

thanks.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Sergiy Z wrote:
I've tried to change timeout paramter to 80 sec. but I can't connect even in this case. Sad
I've got 'Session started.' and waiting, waiting ....

Putty and scp plugin connects in 5-10 sec.!!!

FarScp plugin open one connection for each command (every transfer, every directory listing), so it does not open shell and so it does not need to do all the sanity checks WinSCP does on startup. However WinSCP is subsequently much faster, because once it has opened connection it can do all command very quickly. You may switch off some startup checks, if your server configuration allows it. See "Clear aliases", "Clear mational variables", "Alias LS to display group name", "Lookup user groups" on SCP tab of login dialog.

Also note that if your server supports SFTP, FarScp plugin uses SFTP, not SCP. So you probably compare uncomparable. You may try SFTP with WinSCP as well.
_________________
Martin Prikryl
Sergiy Z

Guest


prikryl wrote:

FarScp plugin open one connection for each command (every transfer, every directory listing), so it does not open shell and so it does not need to do all the sanity checks WinSCP does on startup. However WinSCP is subsequently much faster, because once it has opened connection it can do all command very quickly.

I 100% agree with you. WinSCP - quicker and has a lot of useful features! But FarSCP doesn't break connection after 'cd /incorrect_path/....' but WinSCP does. Sad

prikryl wrote:

You may switch off some startup checks, if your server configuration allows it. See "Clear aliases", "Clear mational variables", "Alias LS to display group name", "Lookup user groups" on SCP tab of login dialog.


It's very good your plugin has such features but it's not clear (for me) what these options mean.

For example:
My server supports SSH v1 and SSH v2. It will be great if somebody explain what protocol version better to use with slow connection (32kbit/s) and what 'Encryption chipher' to use in this case...
Probably changing these option I can make WinSCP more faster. I think a lot of uses have similar questions
and it will be great if you supply WinSCP with help/docs/faq.

prikryl wrote:

Also note that if your server supports SFTP, FarScp plugin uses SFTP, not SCP. So you probably compare uncomparable. You may try SFTP with WinSCP as well.

My server supports SCP only.
Actually I found the core of the problem:
'Remember last used directory' was checked and 'Remote directory' has incorrect path. So it was my side problem. Now WinSCP starts the session in 20-25 sec. i think it's normally for 32kbit/s channel.
Thanks for help. Smile
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Sergiy Z wrote:
But FarSCP doesn't break connection after 'cd /incorrect_path/....' but WinSCP does. Sad

Actually FarScp breaks connection always Smile
Loosing connection after 'cd /incorrect_path/....' happens only with SCP protocol and only with some shells. Try to define different shell on SCP tab of login dialog.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License