Ticket #2256 (new defect)

Opened 7 years ago

Last modified 4 months ago

shell link via ssh fails to restore after connection lost

Reported by: crissi Owned by:
Priority: major Milestone: Future Releases
Component: mc-vfs Version: master
Keywords: Cc: zaytsev, gotar@…
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

I use a remote dir using "Shell link" (via ssh). If the connection was resetted by peer (e.g. adsl disconnect and reconnect with new ip address) changing the remote director fails instead of reconnecting. mc knows my password already, so it could reconnect and shoudl do that. Selecting "Rescan" fails also :(
Reconnect via "Shell link" also fails. Only way is to close mc and start again from new.

Change History

comment:1 Changed 7 years ago by andrew_b

  • Component changed from mc-core to mc-vfs

comment:2 in reply to: ↑ description Changed 7 years ago by andrew_b

Replying to crissi:

Only way is to close mc and start again from new.

Did you try to decrease the VFS timeout (menu Options->Virtual FS) or free VFS forced (menu Command->Active VFS list)?

comment:3 Changed 7 years ago by crissi

No but its set to 60s. But it fails also after this time (e.g. several hours)

comment:4 follow-up: ↓ 8 Changed 7 years ago by zaytsev

  • Cc zaytsev added
  • Version changed from 4.7.0-pre1 to master

I don't think it's possible to implement this, because actually mc doesn't know the password (remember, we are talking about FISH, not FTP here). However, rescan is probably to be fixed...

comment:5 Changed 7 years ago by gotar

  • Cc gotar@… added

comment:6 Changed 6 years ago by andrew_b

  • Branch state set to no branch
  • Milestone changed from 4.7 to Future Releases

comment:7 Changed 3 years ago by andrew_b

Ticket #3249 has been marked as a duplicate of this ticket.

comment:8 in reply to: ↑ 4 Changed 3 years ago by csbubbles

I use RSA keys instead, so Midnight Commander has no idea about any passwords at all, but the issue is still there. It first opens the connection to the remote server just fine, but after it gets disconnected for any reason, the only way to connect again is to restart Midnight Commander, otherwise it just shows "Can't open ssh://... folder" or something like this. Refer to #3249.

Replying to zaytsev:

I don't think it's possible to implement this, because actually mc doesn't know the password (remember, we are talking about FISH, not FTP here). However, rescan is probably to be fixed...

comment:9 Changed 4 months ago by andrew_b

Ticket #2734 has been marked as a duplicate of this ticket.

comment:10 Changed 4 months ago by andrew_b

Ticket #3841 has been marked as a duplicate of this ticket.

Note: See TracTickets for help on using tickets.