Results 1 to 2 of 2
  1. #1
    Join Date
    May 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Exclamation Use ssh connection as normal sftp connection to edit files in editor

    Hi all,

    I am fairly new to using the command line and have a question about editing/saving files.

    I have used Terminal to ssh into the secured server at my work form home: (ignore ................... had to use these instead of urls to not upset linuxforum)

    Code:
     ssh -p 22774 myname........... -L 22775:..............:22774
    From there i have used the following command to access the server which the files are stored on:

    Code:
     ssh -p 22774 admin...............
    I am now able to browse files etc..

    I need to make quite a lot of changes to certain files as I am styling pages/ editing the MVC framework etc...

    Is is possible to use this established connection like i would normally do thorough SFTP? I have Terminal, Sublime Text & Coda 2 that I can use but not too sure where to go from here really?

    Thanks for help with this.




  2. #2
    Join Date
    Sep 2012
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    So you're opening a connection to an internet facing pc and then using that to open a connection to a machine on the local network?

    If so you could try mounting the local machine on your internet facing pc using something like sshfs.

    Then access your internet facing machine via sftp.

 

 

Similar Threads

  1. Connection OpenVPN with IPSec
    By eugen55ro in forum Linux Networking
    Replies: 7
    Last Post: 04-09-2013, 11:56 PM
  2. Replies: 1
    Last Post: 08-22-2012, 04:20 AM
  3. Replies: 1
    Last Post: 03-27-2012, 08:55 PM
  4. ssh server reverse connection
    By Michael Bourquin in forum Command Line
    Replies: 2
    Last Post: 02-16-2012, 12:46 PM
  5. Replies: 0
    Last Post: 01-27-2012, 09:25 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
           








Check out Linux Central for Linux software and other goodies!





» Stats

Members: 3,541
Threads: 3,912
Posts: 9,423
Top Poster: Fred (1,486)
Welcome to our newest member, permeno34

» Links



Powered by vBadvanced CMPS