.\" Man page generated from reStructuredText .\" by the Docutils 0.23 manpage writer. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "kitten-remote-file" 1 "Jul 30, 2026" "0.48.2" "kitty" .SH Name kitten-remote-file \- kitten Documentation .SH Overview .sp \fIkitty\fP has the ability to easily \fIEdit\fP, \fIOpen\fP or \fIDownload\fP files from a computer into which you are SSHed. In your SSH session run: .INDENT 0.0 .INDENT 3.5 .sp .EX ls \-\-hyperlink=auto .EE .UNINDENT .UNINDENT .sp Then hold down \fBCtrl\fP+\fBShift\fP and click the name of the file. .INDENT 0.0 .INDENT 2.5 Remote file actions (images not supported) .UNINDENT .UNINDENT .sp \fIkitty\fP will ask you what you want to do with the remote file. You can choose to \fIEdit\fP it in which case kitty will download it and open it locally in your \fBEDITOR\fP \%<#\:envvar-EDITOR>\&. As you make changes to the file, they are automatically transferred to the remote computer. Note that this happens without needing to install \fIany\fP special software on the server, beyond \fBls\fP that supports hyperlinks. .sp \fBSee also:\fP .INDENT 0.0 .INDENT 3.5 See the edit\-in\-kitty \%<#\:edit-file> command .UNINDENT .UNINDENT .sp \fBSee also:\fP .INDENT 0.0 .INDENT 3.5 See the Transfer files \%<> kitten .UNINDENT .UNINDENT .sp Added in version 0.19.0. .sp \fBNote:\fP .INDENT 0.0 .INDENT 3.5 For best results, use this kitten with the ssh kitten \%<>\&. Otherwise, nested SSH sessions are not supported. The kitten will always try to copy remote files from the first SSH host. This is because, without the ssh kitten, there is no way for \fIkitty\fP to detect and follow a nested SSH session robustly. Use the Transfer files \%<> kitten for such situations. .UNINDENT .UNINDENT .sp \fBNote:\fP .INDENT 0.0 .INDENT 3.5 If you have not setup automatic password\-less SSH access, and are not using the ssh kitten, then, when editing starts you will be asked to enter your password just once, thereafter the SSH connection will be re\-used. .UNINDENT .UNINDENT .sp Similarly, you can choose to save the file to the local computer or download and open it in its default file handler. .SH Author Kovid Goyal .SH Copyright 2026, Kovid Goyal .\" End of generated man page.