Is there a WinSCP equivalent for Linux? [closed] - linux

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I love WinSCP for Windows. What is the best equivalent software for Linux?
I tried to use sshfs to mount the remote file system on my local machine, but it is not as user friendly as simply launching a GUI, plus it seems to require root access on the client machine, which is not very convenient.
Of course command-line tools such as scp are possible, but I am looking for a simple GUI.

If you're using GNOME, you can go to: Places → Connect to Server in Nautilus and choose SSH. If you have an SSH agent running and configured, no password will be asked!
(This is the same as sftp://root#servername/directory in Nautilus)
In Konqueror, you can simply type: fish://servername.
Per Mike R: In Ubuntu 14.04 (with Unity) it’s under Files → Connect to Server in the menu or Network → Connect to Server in the sidebar.

FileZilla is available for Linux. If you are using Ubuntu:
sudo apt-get install filezilla
Otherwise, you can download it from the FileZilla website.

I use FileZilla and it works fine with SFTP (SSH File Transfer Protocol). Follow these steps to install it and configure it:
1. Install FileZilla via terminal:
sudo apt-get install filezilla
2. Open the program and go to menu File → Site Manager... or simply type Ctrl + S
3. The following window should appear:
4. Enter the name of your host, select the port (usually 22 for ssh/scp/sftp) and choose SFTP - SSH File Transfer Protocol as the protocol and optionally set the Logon Type to Normal if authentication is needed, then enter your data.

A Xfce/Thunar solution is basically the same as GNOME/Nautilus:
Simply type sftp://yourhost/ in the address line in Thunar (you can get there by Ctrl + L).
(The authorization is identical to ssh/scp, i.e. with proper use of file ~/.ssh/config, keys and ssh-agent, you can achieve decent ease and security: server alias + no passwords asked.)

To run WinSCP under Linux (Ubuntu 12.04 (Precise Pangolin)), follow these steps:
Run sudo apt-get install wine (run this one time only, to get 'wine' in your system, if you don’t have it)
Download the latest WinSCP portable package https://winscp.net/eng/download.php
Make a folder and put the content of the ZIP file in this folder
Open a terminal
Type wine WinSCP.exe
Done! WinSCP will run like in a Windows environment!

gFTP
Konqueror's fish kio-slave (just write as file path: ssh://user#server/path

WinSCP works fine on Linux under Wine. I installed Wine and WinSCP and had no problems.

I've used gFTP for that.

Use FireFTP, Krusader, and other similar applications.

One thing I find WinSCP does well that I cannot do easily with Ubuntu tools is tunneling to a secondary machine. This is done with one with one connection setting in WinSCP. While I can use the native file browsers in Ubuntu (11.11) to reach any machine, I cannot easily tunnel thru an intermediate machine to reach a third one. I suspect it is because I do not well understand how to set up tunneling. I am toying with gSTM, but there is little documentation, and I suspect it is for setting up local tunnels, not remote ones. In any case it is not as dead simple as WinSCP made it. This is no anwser, but perhaps it highlights a critical feature of WinSCP that suggestions for alternatives should address.
Now off to learn more about tunneling...

Nautilus can be used easily in this case.
For Fedora 16, go to menu File → Connect To Server,
select the appropriate protocol, enter required details and simply connect. Just make sure that the SSH server is running on the other side. It works great.
This is valid on Ubuntu 14.04 (Trusty Tahr) as well.

One big thing not mentioned is the fact that with WinSCP you can also use key file authentication which I am unable to do successfully with Ubuntu FTP clients. KFTPGrabber is the closest thing I can find that supports key file authentication... but it still doesn't work for me, where WinSCP does.

Use Nautilus, the default file manager in GNOME. Here is how you may - Best SCP GUI on Linux.

If you're using Xfce (or LXDE) instead of GNOME, there's an equivalent tool: Gigolo.
I suppose, but not sure, it can be installed also on other desktop environments.
It supports FTP, SSH and WebDAV and it is quite intuitive to use: just click on Connect, choose the protocol, fill the parameters and go. You can save the connections for later use.

Just use GNOME. Just type in the address and away you go!

Related

Using Schwab StreetSmart Edge Cloud on linux - Citrix Error [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
The Problem
Schwab only supports Windows and Mac for its StreetSmart Edge Cloud (SSEC), not Linux. However SSEC is Citrix based, which has a Linux implementation. Unfortunately, it does not work out of the box. How do I get it working on Linux?
Background
One of the most difficult type of software to find on Linux is investment trading software. For years, I had to maintain a Windows machine for this purpose alone.
One of the most sophisticated platform for this is Schwab SmartStreet Edge Cloud version. The only problem is that Schwab only supports Windows and Mac, not Linux. Of course there are other trading platforms, but few can be installed on Linux and I like StreetSmart best.
But isn't Mac a close cousin of Linux? Why can't we seem to get trading software to work on Linux, especially when it is a cloud version of the trading platform? After all, anything that you can do on a Win or Mac browser, you can do on a Linux browser.
So, my question is how can I install a trading platform with all the sophisticated charting and complex trading parameters, such as stop, limit and bracket orders?
Solution
Now, I am going to answer my own question with a solution.
Here is what worked for me. I have been using StreetSmart Edge for over 6 months on my Linux with this solution. Best of all, it does not rely on Wine or dual booting.
Step 1
Download the latest Citrix Workspace app for Linux Web client (x86_64) for 64 bit architecture or (x86) for 32 bit architecture or (ARM HF) for ARM processor machines. I have only tested on the (x86_64), so cannot speak for the others.
Go to the citrix.com and look for the workspace app download page.
Under Available Downloads, choose the type of package you need. I chose Debian Packages. You may need the RPM Packages. Choose the Web Packages (Web Workspace app only) download for your architecture.
On Debian, you are immediately offered a chance to install with GDebi. Click on OK to install.
On RedHat type distros, there are analogous steps.
Or simply install the downloaded file manually, using your OS normal installation procedure for downloaded packages. Be sure you use a method such as GDebi to install needed dependencies as well.
Everything should appear to install correctly without an error message, however, when you try to launch StreetSmart Edge Cloud, you will get the following error message:
SSL error
Contact your help desk with the following information: You have not chosen to trust "DigiCert Global Root G2", the issuer of the server's security certificate (SSL error 61).
Step 2
Create a soft symbolic link to DigiCert_Global_Root_G2.crt which should be in your mozilla ca-certificates.
In my case - Debian 9 - the command to create the symbolic link was as follows:
sudo ln -s /usr/share/ca-certificates/mozilla/DigiCert_Global_Root_G2.crt /opt/Citrix/ICAClient/keystore/cacerts/DigiCert_Global_Root_G2.pem
You may need to search for the mozilla directory to find the correct path for your setup. Also, you may need to search for the Citrix ... cacerts directory to find the correct path for your setup. Replace the ln -s syntax above with the one corrected for your paths.
Step 3
Reboot. I am not certain this is actually necessary, but it can't hurt.
Hurray! You should now be able to use Schwab StreetSmart Edge on your linux.
Now go out and make lots of money and donate it to charity. ... that includes supporting your favorite open source software!!

How to copy files on remote Windows to local Linux on a Linux machine?

Currently, I'm working on a local Linux machine. I'm trying to use scp or similar Linux command-line tools to copy files from a remote Windows machine to my local Linux. I did some searching and found that most of the solutions are for local Windows cases (like putty and winscp), which don't really help.
Please advise.Thank you.
[UPDATE] Solved by installing cygwin's sshd service on Windows.
If you really want to use SCP, you will need an SCP server (actually an SSH server) on the Windows machine.
For example freeSSHd.
You will need to choose one of the options based on your own needs, there are a number of similar tools and freeSSHd was the first in the list on Google. I've used the Bitvise SSH Server in the past but it is only free for non-commercial use.
They are usually very easy to set up. You install them the usual way and run them for the first time. Depending on the tool, they may pick up your existing Windows users or you may need to manually create some users with passwords within the tool. Then, armed with your PC's IP address, you should be able to connect to the PC using SSH from the Linux command line.
If the windows system has a shared folder you should be able access that with smbclient which is part of the terrific samba project.
Usually somthing like:
smbclient //winmachine/share
Possibly using the -U username options to specifiy the username on the windows box.
Once connected, you can use cd to change folders, and get to retrieve files.
If there is no file share.... I dunno. Create one?
Syntax for copying from remote Windows 10 machine with built-in SSH server. Note forward slashes and drive style. Domain is not necessary.
scp user#domain#example.com:c:/path/to/file.txt .

Remote Linux Server setup plan

I have an old computer with formatted drive lying around collecting dust, now I want to instal a linux like OS (any suggestions?) on it and install a web server, preferrably Lighttpd. I want to set up a server so that I have an environment to practice web development in PHP or Java. My problem is I dont want to hook up another set of keyboard/mouse/monitor to that old computer, and if possible I want to remote boot/shutdown the server from this computer that I use to type this question.
I did some google search, but the results are never comprehensive or suitable for my circumstance. Any input would be appreciated, book recommendation or link to a good resource are fine too.
Thanks
Qin
P.S. I did some search on stackoverflow before asking this question, if there is another similiar question being asked, let me know.
You actually needs an unattended (silent) linux installation, which may trigger beeps to tell you when the installation is done. Hope this can help you refine your search on google.
You'll definitely need at least a monitor or KVM and a keyboard if you want to install any OS on it.
For server OS, you could try going for CentOS / Ubuntu. However, if your requirement is just to practice your PHP and Java, you could even use your existing laptop / PC and, assuming windows, you can just install wamp or xampp, to install your apache/php/mysql with just clicks.

How do I mount a remote Linux folder in Windows through SSH? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I'm a blind student currently in a system admin/shell programming class. Although ssh works fine for executing commands like ls, pwd, etc editors do not work well with my screen reader and an ssh session. I was wondering if it is possible to mount a Linux folder over ssh so it appears as a windows drive? This way I could edit any files I needed to with accessible software and not have to constantly use SCP to send files back and fourth.
Back in 2002, Novell developed some software called NetDrive that can map a WebDAV, FTP, SFTP, etc. share to a windows drive letter. It is now abandonware, so it's no longer maintained (and not available on the Novell website), but it's free to use. I found quite a few available to download by searching for "netdrive.exe" I actually downloaded a few and compared their md5sums to make sure that I was getting a common (and hopefully safe) version.
Update 10 Nov 2017
SFTPNetDrive is the current project from the original netdrive project. And they made it free for personal use:
We Made SFTP Net Drive FREE for Personal Use
They have paid options as well on the website.
Dokan looks like a FUSE and sshfs implementation for Windows. If it works as expected and advertised, it would do exactly what you are looking for.
(Link updated and working 2015-10-15)
The best an easiest solution I found is https://github.com/billziss-gh/sshfs-win, connected servers shows up as a fully functioning network drives. This is not a 'Dokany' or 'dokan' based solution which from experiance seems more stable and performant, also see WinFsp Performance Testing.
Please note previously this answer stated, https://github.com/Foreveryone-cz/win-sshfs and before that http://www.swish-sftp.org/ but I no longer use any of them, first one stopped working second one created drives not fully supported in all programs.
Another, more Windows-y option (for $39) is http://www.expandrive.com/sftpdrive
Take a look at CIFS (http://www.samba.org/cifs/). It is a virtual file system you can run on your linux machine that will allow you to mount folders on your linux machine in windows using SMB.
CIFS on linux information can be found here: http://linux-cifs.samba.org/
You need to mount a remote share on your windows machine. This is what Samba/smb is for.
What you'll be doing is turning your Linux box into an SMB server, which lets it share files in a way that plays nice with Windows.
If you're not on the same network, you'll need to tunnel this through your SSH connection which may not be worth the effort.
check out Dokan
https://dokan-dev.github.io/
it's iffy, but it works, and it's free
I don't think you can mount a Linux folder as a network drive under windows having only access to ssh. I can suggest you to use WinSCP that allows you to transfer file through ssh and it's free.
EDIT: well, sorry. Vinko posted before me and now i've learned a new thing :)
Apparently the free NetDrive software from Novell can access SFTP file servers.
Second David's answer below: I needed to mount a network drive automatically when users logged in. Dokan SSHFS is a nice tool, but wasn't reliable enough in this case. The copy of Netdrive I found didn't support SSHFS or sftp - not sure if a more recent one does.
The solution I'm trialling now involves adding a virtual network adapter (with file sharing disabled), using plink to open a tunnel via the new adapter to the remote machine running SAMBA, and mounting the network drive against the new adapter. There's another useful tutorial here http://www.blisstonia.com/eolson/notes/smboverssh.php.
The tunnel and network drive can be set up with a login script, so a few seconds after login users can use the mapped drive without needing to take any action.

How do I get a Remote Desktop for Linux (XDMCP, VNC)

I do this all the time using VNC and it is very easy, but I am curious about a few things like XDMCP. As I understand it, this is a way of creating the entire desktop on a remote X-Server which seems fairly elegant.
Several years ago, I worked on a Solaris server and multiple developers had X-Servers running in Windows and we were able to access a full remote X-desktop. All my efforts so far in X based systems seem to indicate that only one instance, remote or local, of the desktop can be loaded, so I guess this Solaris thing was an actual application that "emulated" a desktop, but who knows....
Any input ?
From Windows I've found the best way to do this is using the Xwin command in cygwin.
Steps:
Install Cygwin, making sure to install X11. (Do this by scrolling to the bottom of the list on the "select packages" screen and click on the word "default" to the right of "X11". Give it a second or two and it will change to "install".)
Then, just run the Xwin command like this:
Xwin -query your.unix.system.name
You'll get a full-screen login window from you unix box. That's it!
Btw, sometimes firewalls get in the way of the UDP protocol for XDMCP. If that happens, look up the port numbers (one UDP outgoing, and one TCP incomming) and unblock them. Other xdmcp troubleshooting tips here.
NX will allow you to use a complete remote desktop environment locally, and most Linux distros already have the server available.
As an alternative to full cygwin install you might want to look at Xming. It is quite a bit lighter and should provide the same functionality.
In Xorg/GDM/LightDM options : "listen" should be activated (disabled by default)
In windows, try Xwin32.
In Linux, try Xnest (windowed) or X with "-query" command.
Be careful: it's slow and everything (passwords included) is transmitted in clear. So keep it on local network, tunnel it in SSH or better don't use it.
I found an additional remote desktop implementation which works quite nicely with LXDE:
x2go
Has clients for Windows, Linux and MacOS X.

Resources