SFTP through ssh node [closed] - ssh

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'm trying to set up an sftp on a networked server. I can access the machine through the outside world by first ssh'ing into a network login server through the following process:
ssh [network-username]#login.server.co.uk
then, once logged in
ssh [server-username]#[hostname]
Is there anyway to sftp into the networked server? I cant find a way to add the initial step into the login process.
Thanks!

You have not specified what SFTP client you are using.
In general, some SFTP clients DO allow SSH tunneling.
WinSCP for instance.
See Connect to FTP/SFTP server which can be accessed via another server only.
OpenSSH suite allows that too.
For example see Forward SSH traffic through a middle machine.
(I'm the author of WinSCP)

Related

How to make local home network on Ubuntu [closed]

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 3 years ago.
Improve this question
so I wanna be able to access my files on my Ubuntu 18.04 LTS machine from my other windows machine by typing its local IP address like this image
but I don't know how to setup apache to display the folders I want, all I'm getting when I type my IP address in the other machine is the apache Ubuntu default page, so how can I make this.
thanks in advance.
To access file system on remote server you can use SFTP to transfer file between systems.
Download Winscp : https://winscp.net/eng/download.php
Type your local ip address including username and password into setup then you can access your remote folders.

problem when copying a file over putty ssh to my windows machine [closed]

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 4 years ago.
Improve this question
i want to copy file from remote server that i connect with the following paramters
Ip : 192.168.1.1
port : 2202
then i log in with user and password :
user:root
pass:1234
but when i try to use this script it shows that connection is refused
pscp 192.168.1.1:/etc/hosts c:\temp\example-hosts.txt
is that correct or i should put the user and password somewhere to authenticate and be able to copy the files
You need to specify the port as it's not the standard port.
Try
pscp -P 2202 192.168.1.1:/etc/hosts c:\temp\example-hosts.txt

SCP File Transfer Between Pi and Windows [closed]

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 7 years ago.
Improve this question
With pscp in windows command line, i can send file from Windows to Pi or i can copy a file from Pi to Windows. But opposite does not work. I cant send a file from pi to windows with pi's terminal.
scp text.txt username#192.168.1.100:C:/Users/Desktop/
or C/Users/Desktep with out colon.
Both does not work. It returns nothing. After few minutes it says connection timed out.
scp is a client that connects to a server. Your Pi is running an SSH server which allows you to connect to it from other machines using pscp or scp (depending on what OS). So to make it work the other way, you need to install an SSH server on your windows machine.
I followed this article to install on my windows machine:
http://linuxbsdos.com/2015/07/30/how-to-install-openssh-on-windows-10/
Sometime in the future based on the announcement by Microsoft at http://blogs.msdn.com/b/powershell/archive/2015/06/03/looking-forward-microsoft-support-for-secure-shell-ssh.aspx it appears Windows will have SSH server.

how does bitvise port forwarding work? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
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.
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.
Improve this question
One of our DBs is behind firewall.
I could not use it through its natural port 1521.
I also know the same machine is accessible through the SSH port ( 22)
My friend showed me BitVise SSH Client, so that by tunneling through the SSH port , I accessed the invulnerable 1521 port and used my favorite Sql Developer tool.
My question is , how do you tunnel some data through the SSH port, what is the mechanics ?
I.e. is there some SSH command like, "after successful login pass the data as is to the given port"
You need to use a SSH client to connect to the Bitvise SSH server. Bitvise also has a client product called Bitvise Tunnelier that you can configure to use port forwarding. You would configure Tunnelier to listen for and forward a specific port (the SQL connection in your case). Then, you would configure your SQL Dev Tool to connect to localhost: and connect.
More information about Bitvise and port forwarding:
https://www.bitvise.com/port-forwarding
This link will show you how to use Port Forwarding with Remote Desktop, but you can adapt it to use it for SQL, etc:
https://www.bitvise.com/remote-desktop

How do I use an SSH File Transfer Protocol client (Cyberduck) through two ssh "points" [closed]

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 am trying to log in to my computer at work through cyberduck.
I can ssh into the computer just fine but I must first SSH into the central system, then ssh from there into my computer.
Is there a way to allow Cyberduck to ssh into my work computer, i.e. ssh twice at once?
You can use e.g. PuTTY to set up the port forwarding, also called an SSH tunneling (for purposes such as yours).
See https://the.earth.li/~sgtatham/putty/latest/htmldoc/Chapter3.html#using-port-forwarding
Alternatively you can use an SFTP client that supports this natively, e.g. WinSCP.
There's a guide for this here:
https://winscp.net/eng/docs/guide_tunnel
Note that aside from instructions, how to do this using WinSCP native tunneling functionality (section Section up tunnel in WinSCP), the guide also shows, how to tunnel WinSCP via PuTTY (section Section up tunnel using PuTTY for SFTP/SCP session). So if you insist on using Cyberduck, you can just replace WinSCP with Cyberduck in the guide.
(I'm the author of WinSCP)
Yes, you can configure local port forwarding. With it, localhost's socket will be forwarded to your work computer so middle SSH server will work as proxy.