About: Editing remote files via scp in vim   Sponge Permalink

An Entity of Type : owl:Thing, within Data Space : 134.155.108.49:8890 associated with source dataset(s)

To get around this, try opening the file as follows: vim scp://remoteuser@server.tld//absolute/path/to/document Notice two things: 1. * remoteuser@: This is used to specify the user name on the remote server. Without this, it will use the user's name on the local computer. Often that will come from the $USERNAME environment variable. If the user has the same name on the local computer and the remote server, this part is unnecessary. If you're unsure whether it's needed, use it just to be safe. 2. * Double slashes ("//") between the hostname and file path: At least one slash is needed to separate the remote server's hostname from the file path. That slash is not included in the path used to reference the file on the remote server. If the path to the file is absolute, then it mu

AttributesValues
rdfs:label
  • Editing remote files via scp in vim
rdfs:comment
  • To get around this, try opening the file as follows: vim scp://remoteuser@server.tld//absolute/path/to/document Notice two things: 1. * remoteuser@: This is used to specify the user name on the remote server. Without this, it will use the user's name on the local computer. Often that will come from the $USERNAME environment variable. If the user has the same name on the local computer and the remote server, this part is unnecessary. If you're unsure whether it's needed, use it just to be safe. 2. * Double slashes ("//") between the hostname and file path: At least one slash is needed to separate the remote server's hostname from the file path. That slash is not included in the path used to reference the file on the remote server. If the path to the file is absolute, then it mu
Version
  • 6(xsd:integer)
dbkwik:vim/property/wikiPageUsesTemplate
Previous
  • 336(xsd:integer)
Category
  • Integration
  • File Handling
Author
  • Matthew Weier O'Phinney
Complexity
  • intermediate
Created
  • 2002(xsd:integer)
ID
  • 337(xsd:integer)
NEXT
  • 338(xsd:integer)
Rating
  • 875(xsd:integer)
abstract
  • To get around this, try opening the file as follows: vim scp://remoteuser@server.tld//absolute/path/to/document Notice two things: 1. * remoteuser@: This is used to specify the user name on the remote server. Without this, it will use the user's name on the local computer. Often that will come from the $USERNAME environment variable. If the user has the same name on the local computer and the remote server, this part is unnecessary. If you're unsure whether it's needed, use it just to be safe. 2. * Double slashes ("//") between the hostname and file path: At least one slash is needed to separate the remote server's hostname from the file path. That slash is not included in the path used to reference the file on the remote server. If the path to the file is absolute, then it must begin with a slash, giving two slashes between the hostname and file path as shown above. However, if the file to be edited is contained within the home directory of the remote user, a relative path may be used, which should not use a second slash. For example, if the absolute path to the file to be edited is /users/remoteuser/relative/path/to/document and the home directory for remoteuser is /users/remoteuser, then the following command will open that file: vim scp://remoteuser@server.tld/relative/path/to/document
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2012 OpenLink Software