<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Ssh on rammie_blog</title>
    <link>https://rammie-blog.xyz/tags/ssh/</link>
    <description>Recent content in Ssh on rammie_blog</description>
    <generator>Hugo</generator>
    <language>ko</language>
    <lastBuildDate>Fri, 21 Nov 2025 14:33:19 +0000</lastBuildDate>
    <atom:link href="https://rammie-blog.xyz/tags/ssh/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>[ttyd] Web browser에서 접속 가능한 terminal을 만들자!</title>
      <link>https://rammie-blog.xyz/posts/terminal-on-web-browser/</link>
      <pubDate>Fri, 21 Nov 2025 14:33:19 +0000</pubDate>
      <guid>https://rammie-blog.xyz/posts/terminal-on-web-browser/</guid>
      <description>&lt;p&gt;내 서버를 외부에서 접속하려면 터미널 앱에서 ssh 명령을 통해 접속해야한다. ssh 접속을 하려면 22번 포트(또는 host가 정한 다른 포트)가 열려있어야 하는데, 22번 포트가 열려있지 않거나 적절한 터미널이 없는 환경에서는 서버 접속이 불가능한걸까?&lt;/p&gt;
&lt;p&gt;인터넷 접속이 가능한 환경이라면 http(80), https(443) 포트는 열려 있을테니, 웹 브라우저를 통해 서버에 접속할 수 있지 않을까 생각하게 됐다. Host에서는 웹 페이지 하나를 띄워주고, 해당 페이지에 터미널 앱을 올려놓는 것이다.&lt;/p&gt;
&lt;p&gt;방법으로는 xterm.js 라이브러리를 이용해서 terminal 기능과 hosting 기능을 기초부터 구현할 수도 있고, wetty나 ttyd 같이 이미 구현된 web 기반 terminal 앱을 이용할 수도 있다. 나는 이미 nginx를 통해 블로그를 hosting 하고 있고, 직접 terminal 기능을 구현할 생각이 없으니 당연히 후자의 방법을 택했다. 아래는 chatGPT가 비교한 wetty와 ttyd의 특징이다.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Setting up sftp</title>
      <link>https://rammie-blog.xyz/posts/setting-up-sftp/</link>
      <pubDate>Wed, 11 Oct 2023 15:07:43 +0000</pubDate>
      <guid>https://rammie-blog.xyz/posts/setting-up-sftp/</guid>
      <description>&lt;p&gt;sFTP란 ssh File Transfer Protocol의 약자로, ssh 포트를 통해 파일을 주고 받을 수 있는 규약이다. FTP의 보안이 강화된 버전이라고 볼 수 있다.&lt;/p&gt;
&lt;p&gt;원격으로 파일을 전송할 때, 간단히 scp로도 전송할 수 있다. 하지만 전송해야 할 파일이 많거나, 용량이 크거나, 서버 간 다른 플랫폼을 사용하고 있다면 전송이 어려울 수 있다.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;scp -p [port] [file_path] [user_name]@[ip_address]:[target_path]
&lt;/code&gt;&lt;/pre&gt;&lt;ul&gt;
&lt;li&gt;SCP vs SFTP
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://parkadd.tistory.com/129&#34;&gt;https://parkadd.tistory.com/129&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;나는 Windows에서 Ubuntu 서버로 file을 옮기는 작업을 주로 하기 때문에, sFTP를 setup하고 FileZila를 이용해서 전송을 한다.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
