GNOME Bugzilla – Bug 331583
No default port and directory in Connect to Server: SSH (and others )
Last modified: 2012-05-03 04:14:43 UTC
From downstream, launchpad: https://launchpad.net/distros/ubuntu/+source/nautilus/+bug/30039/ "Connect to Server: SSH asks user for target port and directory. Normal end users don't usually know these. The port is normally 22/tcp, and nautilus uses this automatically if it is left empty. However, there is no way for user to know that it can be left empty. Suggestion: have text "22" in the port field by default, when the dialog is opened. Directory to connect to is empty. If left empty, it will connect to root directory "/". In many big systems, user home directories are not directly under "/home/", but are separated to many directories. In practice, this means that user must use command line "ssh" and "pwd" first to find out his home directory before using "Connect to Server". Suggestion: Connect to user home directory by default if the field is left empty. Have small text under the directory field: "Defaults to your home directory if left empty. " " Other information:
Invisible characters cause error in "Connect to Server". In the typical use scennario above, users typically copy-paste the home directory to "Connect to server" dialog. Copy pasting selects the trailing newline, which causes weird error when actually trying to connect. Suggestion: ignore invisible characters in "Connect to server" dialog.
Tero: I suggest filing a separate bug report for that. Confirming the bug for 2.14. Not sure it should enter the values, but some notification of it being an optional field should be there. Perhaps even moving it all into an "> Advanced " widget?
"> Advanced" is a good idea! SSH should be the default, better than FTP, the current default. The dialog could be like this: User Name: Server: > Advanced Folder: (Defaults to user home directory) Port: 22 Name for connection: (Defaults to username@server) - The advanced config is normally hidden, only the advanced button is shown. - User before server, consistent with cli ssh behavior and written url user@host - Default port should be written on field, consistent with Preferences: Printing: New printer - Is it necessary to ask for a name for connection? Of the 100+ I have shown this, most call first server something like "server1", the second "server2" and then forget which is which. They also think that the choice of name somehow affects the connection
Is this still an issue in a recent version, such as 3.0 or 2.32?
This has been long fixed.