winscp

WinSCP .NET library: Connect to SFTP server without specifying SSH host key fingerprint

一个人想着一个人 提交于 2019-12-04 15:01:21
In the current stable release of WinSCP, it seems that using SshHostKeyFingerprint is mandatory and there are no ways to connect to SFTP server without that in SessionOptions . I can see that the ability to bypass is added to the beta (5.2) but I was wondering whether or not it's possible to connect without this fingerprint. First, make sure you understand that you give-up any security , when you try to bypass SSH host key check. You effectively lose a protection against man-in-the-middle attacks . Anyway, you can use use SessionOptions.GiveUpSecurityAndAcceptAnySshHostKey . It's NOT

Is there any WinSCP equivalent for linux? [closed]

老子叫甜甜 提交于 2019-12-04 07:21:10
问题 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 5 years ago . I love WinSCP for Windows. What are the best equivalent softwares 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

linux windows文件互传

浪尽此生 提交于 2019-12-04 06:16:48
1 scp方式 windows端安装winscp软件 Linux端安装scp server 该方式比较适合windows端图形化操作。 2 Linux访问Windows共享目录 windows端:设置共享目录(F://linuxshare)及账户(win) Linux端: (1)安装SMBClient,以ubuntu为例:sudo apt-get install smbclient (2)安装cifs-utils软件包:sudo apt-get install cifs-utils,CIFS是实现文件共享服务的一种文件系统 (3)创建mnt挂载点: mkdir /mnt/win (4)将windows共享目录挂载至linux:mount -t cifs -o username=win //192.168.1.123/linuxshare /mnt/win (5)至此可以在linux上对win文件夹进行操作 来源: https://my.oschina.net/u/3732258/blog/3128368

在Windows上访问linux的共享文件夹

…衆ロ難τιáo~ 提交于 2019-12-04 04:49:53
用的工具:samba。(其实比不过现成的软件,WinSCP还稳定一点) 第一步:在Linux上安装Samba: sudo apt-get install samba 第二步:配置一个通过samba访问Linux文件夹时,需要用到的用户名和密码: smbpasswd -a 用户名 #在实际时,把这个用户名替换成自己的用户名。enter后,会有密码输入 注意替换这个“用户名”为自己的名字。至于密码,enter后,会提示。 第三步:创建一个文件夹。或者直接使用现有的文件夹。 第四步:在配置文件中,添加这个我们想共享的文件夹的路径和一些配置信息: sudo vi /etc/samba/smb.conf 第五步:在这个文件的最后,需要添加一点东西: [share_name] #符号[ ]里面的是共享文件夹对外的名字,称为共享名字,注意[ ]不能掉path = /home/book/Desktop/example #这个path就是你想共享的那个文件夹的路径available = yesvalid users = 用户名 #这个book,就是我们刚才在第二步创建的那个用户名,记得替换read only = nobrowsable = yespublic = yeswritable = yea 其它设置,可根据自己需求来选择。 第六步:重启SMB服务: sudo service smbd

SFTP file transfer in SSIS

血红的双手。 提交于 2019-12-04 01:22:25
问题 I've read a whole bunch of different forums on this but cant seem to get mine to work. I need to transfer a file from my local machine to an SFTP server using SSIS. Here is what I've already done: I downloaded WinSCP Created a saved connection in WinSCP ( TS_NEW ) Open up that saved connection (to verify) Copied WinSCP.exe and WinSCP.com to the SSIS project folder Created Text file with the below script. option batch on option confirm off open sftp://TS_NEW.com cd C:\Users\zaccheut\Documents

通过WinScp访问 FreeBSD的设定方法。

牧云@^-^@ 提交于 2019-12-03 15:29:19
In this case, i want to transfer data and maintenance my FreeBSD from other machine, Putty and WinSCP are choose to login from my XP. Login as a root #vi /etc/rc.conf make sure and insert this at the end sshd_enable=”YES” #vi /etc/ssh/sshd_config —> to configure sshd Find and change the line: “PasswordAuthentication no” to PasswordAuthentication yes, and root PermitRootLogin yes to login from winSCP / putty direct as a root. # /etc/rc.d/sshd restart and see sshd status as pid xxxx Finnaly, go to your putty / winSCP in other machine to login with user n password your FreeBSD 来源: oschina 链接:

SFTP via JSch is throwing error 4: Failure

故事扮演 提交于 2019-12-03 11:49:16
I am facing a peculiar issue while trying to SFTP a file from Windows to Unix server. The error "stack trace" is - 4: Failure at com.jcraft.jsch.ChannelSftp.throwStatusError(ChannelSftp.java:2846) at com.jcraft.jsch.ChannelSftp.checkStatus(ChannelSftp.java:2459) at com.jcraft.jsch.ChannelSftp._sendCLOSE(ChannelSftp.java:2465) at com.jcraft.jsch.ChannelSftp._put(ChannelSftp.java:683) at com.jcraft.jsch.ChannelSftp.put(ChannelSftp.java:475) at com.jcraft.jsch.ChannelSftp.put(ChannelSftp.java:365) I have searched a lot on other forums but could not get to the root cause. I have observed one more

How to use Excel VBA to run WinSCP Script?

匿名 (未验证) 提交于 2019-12-03 09:52:54
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I wrote a WinSCP script that upload a local file to a SFTP site. The script is saved into .txt: WinSCP.com open sftp://username:password@address cd /export/home/Desktop/Temp put C:\Users\Dekstop\JPMC\a.xlsx close exit Then I look at this post and write this code into Excel VBA: Sub RunWinScp() Call Shell("C:\Program Files (x86)\WinSCP\WinSCP.com /ini=nul/script=C:\Users\Desktop\WinSCPGetNew.txt") End Sub But when I try to run it, nothing happens. There is no error, but the file is not transferred correctly neither. Could someone please help?

WinSCP commandline: Hostkey not found in cache error

匿名 (未验证) 提交于 2019-12-03 01:34:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am trying to connect to Unix server from WinSCP commandline for the first time. It closes with the the following error: The server's host key was not found in the cache. You have no guarantee that the server is the computer you think it is. The server's rsa2 key fingerprint is: ssh-rsa 1024 42:9e:c7:f4:7f:8b:50:10:6a:06:04:b1:d4:f2:04:6d If you trust this host, press Yes . To connect without adding host key to the cac he, press No. To abandon the connection press Cancel . In the WinSCP commandline, it does not ask for any input (Yes or No)

OPENSSH密钥之三Winscp、cuteftp、flashfxp登录

匿名 (未验证) 提交于 2019-12-03 00:22:01
在Windows下我们有很多时候要用到Ftp客户端软件上传文件,默认使用的都是21控制端口,然后再根据Ftp服务器的模式(主动或被动)打开一个数据连接端口,这是早期File Transfer Protocol设计的模式。它有两个不足之处:1、占用了不止一个端口,某些防火墙设置会稍有些麻烦;2、传输的数据是明文的没有加密,不够安全。后来的Sftp就是在OpenSSH基础上的安全文件传输协议。原理我就不多说了,今天主是介绍使用密钥登录Sftp服务器的方法。 1、Winscp简单使用。 打开Winscp―-新建会话―-主机名(填入域名或者IP地址)―-端口号(默认22)―-用户名―-密码(这里先随便输入几个字符)―-密钥文件(可以直接使用Putty的.ppk私钥文件) 2、CuteFTP版本高于8.3.2、FlashFXP版本高于3.7.9 (build 1348)都有支持SSH2的SFTP。 需要注意的是:(1)、CuteFTP所有的站点都只能用同一个公私钥,而FlashFXP却可以为每个站点设置不同的公私钥;(2)、FlashFXP可以使用CuteFTP生成的公私钥;(3)、反过来CuteFTP却不可以使用FlashFXP生成的公私钥;(4)、两个都不能使用puttygen生成的公私钥。不知道高版本的有没有解决这几个问题。 (1)、CuteFTP生成公私钥 打开CuteFTP―-工具