Code Monkey home page Code Monkey logo

sshfs-win-manager's Introduction

Donate

SSHFS-Win Manager

Introduction

SSHFS-Win Manager is a GUI (graphics user interface) for SSHFS on Windows (comming soon for other platforms).

Installation

Step 1

Install SSHFS-Win on your Windows computer.
Follow they installation instructions before continue.

Step 2

Once SSHFS-Win is installed, download the lastest setup from the releases section and install it.

Step 3

Add your connections and enjoy!

Features

  • Electron-based application. Electron is the same engine that powers Visual Studio Code, Discord, GitKraken and many more.

  • User-friendly and intuitive interface

  • Multiple authentication methods:

    • Password1
    • Private Key (without password)
    • Ask for password
  • Startup with Windows

  • Close to system tray

  • Quick debug tool

  • Supports advanced command line params

  • Easily duplicate connections

  • Reorder connections

  • Connection debug log

Screenshots

Main Window
Main Window

Add Connection
Add & edit connections

Open mounted drive
Explore mounted drive

System tray
Close to system tray

Bugs & help

If you have any question or a bug report please open a new issue

Contributing

If you want to contribute with this project, please see the contributing guide-lines
If you just want to build or compile this project see instructions here

Donation

If you like this project, please consider making a donation. 100% of the founds will be revert for charity.

Notes

1 This software stores your password in a plain json file. If there is any concerns on storing your password that way, please use one of the other authentication methods. See issue #28

License

MIT License

Copyright (c) 2020 Evandro Araújo

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

sshfs-win-manager's People

Contributors

brtpob avatar dependabot[bot] avatar evsar3 avatar jamieslome avatar josemmerida avatar lancetekk avatar mrombi-siatass avatar rudisimo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sshfs-win-manager's Issues

Display 'program running in tray' message disable feature

Hi

Whenever I close the app to make it minimize into tray, this notification pops up.
image

This is kind of getting annoying after a while because it shows up every time I close the app. I like to inform the app that have learned that it will stay running in the background.

So is it possible to make it hidden after I click the notification to confirm that I have acknowledged?

I'm using version 1.0.1 on Win 10 2004

No error message

Hello,

my connection is not working for some reason. When I click the plug button the button shows some progress and then turn back to disconnected icon. The issue is I don't receive any error message, so I don't know what's wrong.

I'm using private key. I can initiate SSH connection with the same configuration.

Not connecting no log ?

Hi,
I am able to connect directly in the explorer with sshfs.
When I use this manager I dont get any connection, is there anywhere a log to see whats going on ?

Instruction to run in portable mode

Hi, I want to run your software, but in portable mode, but I have error:
cygfuse: initialization failed: winfsp-x86.dll not found
detailed log:

date: 2020-09-27T15:50:16.359Z
conn: {e2c523ec-0706-48a8-bf42-86a0a9700b4e} ()
conntype: password
cmd: "somepath\sshfs-win-3_5_20160-x86\SSHFS-Win\bin\sshfs.exe" ubuntu@someip:/ I: -p22 -ovolname= -odebug -ologlevel=debug1 -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oidmap=user -ouid=-1 -ogid=-1 -oumask=000 -ocreate_umask=000 -omax_readahead=1GB -oallow_other -olarge_read -okernel_cache -ofollow_symlinks -oPreferredAuthentications=password -opassword_stdin
{e2c523ec-0706-48a8-bf42-86a0a9700b4e} cygfuse: initialization failed: winfsp-x86.dll not found
{e2c523ec-0706-48a8-bf42-86a0a9700b4e} exit 1
question: where I need to put this file to work in portable mode?
I don't want to install all components, I want to run it in portable mode, if it's possible to use relative path for sshfs.exe and for winfsp-x86.dll will be great!.
Thanks, best regards

Error with object

Hi

I tried to open the app with clicking the tray icon but it has triggered an error message.
image

I can open the About screen but not the main view.

I have tried to quit and started app from the start menu and it has open with no errors. I think this is a one-time thing but couldn't be sure. So I thought it's best to post this here and may help to find a reason.

I'm using version 1.0.1 on Win 10 2004

Connected/Disconnected Status Problems

Seems to be a bug whereby if you connect to a server, and then close out of the program (such as by restarting) the program will still mark the connection as 'connected' and thus be unable to either reconnect or disconnect. Manually editing the veux.json files to mark connections as 'disconnected' fixes the issue.

Connection reset by peer

Hello!
Authorization is performed using a key (.ppk).
Specified all settings (IP, port, username, key file) correctly, but when trying to connect writes "Connection reset by peer"

no connection

Hi,
unfortunately I don't get a connection when I use the sshfs-win manager, whereas my drive IS connected when I use "connect network drive" in Windows Explorer with path \sshfs.r\user@host\path\to\files (OS= windows 10 Education 1809 64-bit german) . After I click the connect button there is a wait/busy circle, and then the input windows again, but no connection. No error message either. I tried rebooting - the same afterwards. I Installed the software for all users and run it as user without admin rights.
I really would like to have it running - for all the new/Corona Home Office users of our institute. Thanks, Georg

Debug Log results in immense amount of lag after many debug messages

After only 20 seconds (of many read requests (or any for that matter)), sshfs-win-manager becomes borderline unresponsive due to having to deal with the insane amount of messages in the debug log. One can usually get this huge read request count by simply reading a large file.

Suggested fix: Add a "max debug messages" option in settings that keeps the max messages to a user-definable minimum. This option should not be disable-able. Instead, users should be given an option to set the max message fairly high, but limit the max so the user doesn't hurt win-managers user experience. Even on my fairly decent computer, displaying the excessive amount of messages resulted in 20% CPU load with the laggy UI.

Another fix: Somehow only display and deal with messages that are in the viewport. I'd recommend the other fix over this one because this doesn't help with insane amount of messages resulting in a super tiny scroll bar.

SSHFS instances orphaned once SSHFS-Win-Manager exits

Steps to reproduce

  1. Add new SSHFS connection.
  2. Click on "Connect" icon to connect to server.
  3. Click on "Folder" icon to open Explorer and verify that connection is alive.
  4. Quit SSHFS-Win-Manager and verify that file system is still running.
  5. Restart SSHFS-Win-Manager.
  6. Observe that SSHFS-Win-Manager does not detect that file system is already running.
  7. It is impossible to reconnect the connection, because the drive is already taken.

Expected behavior

I would expect that upon restarting SSHFS-Win-Manager it would detect the running instance of the file system.


Re: winfsp/sshfs-win#158

Keyfile path with a space prevents a connection

If the 'KEY FILE" path contains a space then the connection to the host is not made.
ie: C:\Users\My Name.ssh\myspecial_id_rsa
Note the 'space' in 'My Name'
The error message is the (very useful) 'Read: Connection reset by peer'

Looking at the command that is sent to the sshfs-win.exe program I see that the -oIdentityFile parameter is surrounded by doble quotes. ie: "-oIdentityFile=C:\Users\My Name\myspecial_id_rsa"

If the identity file does not contain a space, then -oIdentity argument is not quoted.

It gets uglier. Quoting the -oIdentityFile argument requires that any '\' be replaced with '\\'
After randomly typing keys I figured out that the following will work (note use of single and double quotes):

'-oIdentityFile="C:\\\\Users\\\\My Name\\\\myspecial_id_rsa"'

The path portion is double quoted and the back-slash path separator is replaced by 4 of them
The entire argument is then placed in single quotes.

Feature requests

  1. Option to minimize GUI. It just remains maximized all the time.
  2. Collect stats about connections dropped and provide to user.

private key not working

ssh-keygen -t rsa

used private and public key and also added public key to authorized_keys on the linux host
it still does not work after using to connect using private key.

Can you please help me with the document that can use to generate the right key format Sir?

Unable to use key file "private-zk.ppk" (OpenSSH SSH-2 private key (new format))
Using username "root".
[email protected]'s password:

Thanks,
Zak

Always connecting, never connects

Here is my vuex.json file

{
	"state": {
		"Data": {
			"connections": [
				{
					"authType": "key-file",
					"folder": "/opt/",
					"host": "my.host",
					"key": "",
					"keyFile": "C:\\Users\\myUsername\\.ssh\\xbox_dev.id_rsa",
					"mountPoint": "S:",
					"name": "xbox.shift_docker",
					"password": "",
					"port": 2222,
					"process": null,
					"status": "disconnected",
					"user": "root",
					"uuid": "bc3154e6-bc6e-4064-98df-0e593df2a4df"
				}
			]
		},
		"Settings": {
			"settings": {
				"sshfsBinary": "C:\\Program Files\\SSHFS-Win\\bin\\sshfs-win.exe",
				"startupWithOS": false
			}
		}
	}
}

Error Handling Keyfile Paths with Spaces

Basically I am unable to use sshfs‐win‐manager to connect to a server using a keyfile when the keyfile in question contains a filename (or file path) that contains spaces. Changing the path and filename to a continuous one without spaces fixes the issue, allowing me to connect.

SSHFS-Win-Manager connections show connected

Hi there,

SSHFS-Win Manager connections keep showing as connected but actually are not.

I was checking whether the connection will come back up if Windows restarts and I did not disconnenct the SSHFS connection.
Now it's still showing connected and I can't delete it or edit it or even disconnected (even through it's not connected).

Is there a way to reset the manager's entries? For example by deleting a config file that's possibly left over somewhere in the system?

I've tried uninstalling it and re-installing it and it still is present.
Thanks in Advance.

PS: I'm running it on a Windows 10 VM on virt-manager and the host is running Debian Buster 10.5
Hardware is an HP Envy 17 j150ca with 12GBs of RAM and an SSD.

[Feature Request] Automatic reconnect on startup

I very much like sshfs-win-manager, thank you for creating it! I have really spent too many hours wrestling with smb ... Really nice also to be able to use private/public keys.

I notice, however, that "drives" are not reconnected if left mounted when the windows pc is rebooted. Is that by design? If I simply use sshfs-win (not manager) and map drive letters in explorer, I believe that the mounts are reconnected on reboot. That behaviour would be convenient.

Thought I should mention also that I ran into issue #9 , all parts (winfsp, sshfs-win, sshfs-win-manager) freshly downloaded and installed just now.

sshfs-win-manager fails in a non-user-friendly way when sshfs executable is not properly linked

When setting up sshfs-win-manager, I was getting extremely confused why starting my sshfs mount wasn't working. When I pressed "connect", it'd throw an error notification of something like "Broken EPIPE" (identical to #17). After a lot of searching, I realized there was a settings page, and there was a option to choose the sshfs-win executable.

By default, the sshfs-win executable option is pointing to Program Files. My x86 installation of sshfs-win installs to Program Files (x86) by default.

My proposal is for the settings button and the sshfs-win option to become red, along with a warning symbol next to it if sshfs-win-manager does not point to an existing file. This would provide clear indication to users there is an issue that must be addressed. In addendum, if its possible to throw an error stating "sshfs-win executable not set to an existing file" would be great.

[DISCUSSION] Project status and planning

I want to share with you that I'm back to work in the project! 🎉

First, I must say that I'm very glad for your feedback and I'm so happy that this project got so much attention in such a small time. I hope it's being useful at this quarentine helping people to remotelly work on they files.

I have defined some major changes to work at:

  • Advanced UI with all SSHFS options;
  • Auto-update;
  • Create a debug tool for helping at throbleshooting;
  • Extend it to be a multi-platform app and support the native sshfs on Linux and whatever people use on MacOS;
  • Other bug fixes and improvements that might appear along the way.

Thank you.

#StayHome

Documentation on how to compile source

I would like to contribute to this project, but I have no idea how to compile the source. Having a short description/tutorial on how to compile the source in the README would be greatly appreciated.

For example, being that this is an electron application: Do I need to install npm? How do I initialize the packages? What command do I run to get a binary?

Thank you very much!

Issue with connecting with key

Hi I moved my private key used to connect and now when the app starts it keeps trying to connect and never succeeding so I can't edit the connection.

Symlinks Do Not Work

Generally speaking, to keep things simple for users, symlinks should be readable/followed. However, because the follow_symlinks option for SSHFS is not set and because there is no way to set it manually, navigating hosts with symlinks will fail.

Program starts with transparent window.

Program starts with transparent window and interface is completely inaccessible.
The icon is on the taskbar, but when I click on it only the window's shadow is shown.
When I put the cursor over transparent/missing window, the cursor starts to blink as the program is very busy.
I've installed the program on 3 PC (1 virtual, 2 physical), this happens to only one of them.

Add support for advanced options

sshfs has a umask option that can be used to set the general umask. SSHFS-Win-Manager sets create_umask here, but it does not set the main umask or have any option for that.

Could either an advanced UI option for this be added, or (even better) support for adding arbitrary command line flags to the SSHFS invocation be added?

SSHFS on windows with ProxyCommand (SSH Jump Host)

I'm looking for a windows tool that allows me to do sshfs to a server_A that is only accesible from a server_B with public ip. On Ubuntu I use this command:
sshfs -p 22 -oProxyCommand="ssh -W %h:%p user_server_B@ip_server_B" -o idmap=user -o follow_symlinks user_server_A@ip_server_A:/ /home/USER/destination_folder

ME-----(WAN SSH)-----> Server_B ------(LAN SSH)-------> Server_A

Maybe I can use sshfs-win commands but I don't know how.
Thank you!

[Enhancement] More secure storage of passwords

Currently, the password is stored in plain text in a json file, which is a show stopper for anyone worried about security. Please consider possibly leveraging Windows's protected storage, or some other form of more secure password storage method.

Another alternative could be to allow leaving the Password field empty, and requesting it at connection time, and not storing it on disk afterward. Not as convenient, but may be a simpler alternative.

Stuck Connection no error

Good day.
I've been running SSHFS like this for over a month now, the connection at the top got stuck one day without message error, I had to create another one with the same parameters to be able to work, but I can't delete or edit the broken one.

Any ideas?

image

Chocolatey package?

SSHFS-Win has a Chocolatey package at https://chocolatey.org/packages/sshfs.

Would you be interested in the integration of a choco package for SSHFS-Win Manager into the build that has a dependency on the sshfs choco package, for those of us who prefer to use Chocolatey for application dependency and version management?

I can't delete a connection

I have the version 1.0.1. I connected a remote SFTP folder and was able to view the content and operate on it (S :). I minimized the application and when I opened it after an hour, the connection appeared trying to connect continuously. I have restarted Windows (windows 10), uninstalled and reinstalled sshfs-win-manager and it continues the same.
I have created another connection to the same folder (T :) and it works perfectly. The application does not allow to delete the first connection. How could I do it?

sshfs101

Connection Abort

I have sshfs-win working via net use, both //sshfs and //sshfs-k work to map a drive.

in sshfs-win-manager I get "read: software caused connection abort" no matter authentication or path I put in.

on the server the auth.log doesn't even show an attempt.

what might be going wrong?

Unable to abort connection.

So, I screwed something up and want to remap a connection.
Unfortunately, I set SSHFS-Win Manager up to autostart.
So, the manager hangs on startup, and I can't edit/delete the b0rked connection.
Additionally, I don't see a manner in which to bypass or abort the connection (I removed the Manager from autostart, however it immediately attempts to connect once I start the manager).

Halp.

Let me know if I need to provide you any diagnostic info. I think all I really need is to know where the manager stores its connections, and just blow away those settings.

kthnxby!

Unable to select private key authentication method

When I try to select an authentication method for a new host (or while editing an existing host), I cannot select authentication by private key. It looks like these dropdown items are disabled.

Windows 10 1909
sshfs-win-manager: 1.0.0

Can't connect to my remote server

Hi, I'd been installed this application today, and found that I can't connect to my server which is ssh enabled.
The following is the error message that pop up on my computer :

Then the folloing is the version of some required components I'd installed :
WinFsp : 2020.2 Beta2
SSHFS-Win : 2020.1 Beta1
sshfs-win-manager : 1.1.0-beta.1

I want to know if there is any solution to solve this, thanks a lot!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.