Skip to main content

SCP through SSH Tunneling

SSH tunneling can be used to secure copy (scp) files to the clusters from your local 
computer (and vice versa) without having to copy them on to the intermediary bastion host.
This page contains instructions on how to use SSH tunneling on the HPC clusters to
secure copy (scp) the files.


You can do one of the following two methods to secure copy (scp)
 the files from/to clusters to/from your home computer through tunneling.

1.     Put these lines in your ~/.ssh/config file on your personal linux machine. If you don't have this file "config", create one.

Host hpctunnel
HostName hpc.es.its.nyu.edu
LocalForward 8020 usq.es.its.nyu.edu:22
LocalForward 8021 bowery.es.its.nyu.edu:22
LocalForward 8022 cardiac1.es.its.nyu.edu:22
User UserName

Host usq
HostName localhost
Port 8020
ForwardX11 yes
User UserName

Host bowery
HostName localhost
Port 8021
ForwardX11 yes
User UserName

Host cardiac1
HostName localhost
Port 8022
ForwardX11 yes

User UserName

2.     Create a tunnel to the cluster you want to connect from your computer 
through hpc.es.its.nyu.edu. Keep this terminal window alive. It should be
open until you are done with scp or ssh. You should open a new terminal 
window for scp or ssh.

$ ssh hpctunnel

3.     Open a new terminal window.

4.     Copy the files from your desktop or laptop to
 the clusters. This will write the file filename to your /home directory
 on the cluster,  "." means to keep the same name on the cluster.
  Substitute bowery or cardiac1 for usqif writing to one of those clusters.

$ scp filename usq:~/.

5.     Alternatively, copy files from the clusters to your desktop or laptop:


$ scp usq:~/filename .

Comments

Popular posts from this blog

ESP32-C6 Wi-Fi Logger with Browser GPS + Heat Map Dashboard

This project is an ESP-IDF firmware for the Seeed Studio XIAO ESP32-C6 that turns the board into a self-hosted, secure Wi-Fi scanning logger. It creates its own access point, serves a responsive HTTPS web UI, logs nearby Wi-Fi access points, optionally tags rows with GPS coordinates (provided by the client browser), and exposes battery status from the on-board LiPo input. The end result is a pocket Wi-Fi “survey” tool: scan, track, export logs as CSV, and generate a heat map view to visualize RSSI vs location. Project overview and feature set: :contentReference[oaicite:1]{index=1} What it does AP + Station mode so the device can serve the dashboard while scanning nearby Wi-Fi networks. HTTPS web interface using a bundled certificate/key for local secure access. Single scan and continuous tracking modes. CSV export for analysis and archiving. Persistent logging to SPIFFS at /spiffs/logs.csv . Battery monitoring via ADC with voltage/percentage/status sh...

סלקום ממש לא כדאי לקנות מאצלכם מודים

סלקום באמת מבאס לגלוש אתכם !! בשעה טובה ומצלחת קניתי מודם סלולארי על מנת שאוכל לגלוש באינטרנט בעזרתו. בעמדת המכירה הציעו לי את מסלול תשלום מראש הידוע כtalkman, מסלול זה התאים לצרכי כך שאוכל לדעת מראש כמה אשלם ובחרתי לבצע את העיסקה. כאשר התחלתי לגלוש לשרתים המספקים תוכן כגון rapidshare , megaupload , zshare ועוד גיליתי כי כתובת הIP ממנה אני גולש חסומה, או עברה את כמות השימוש המותרת אולם זה קורה לפני שאני ביצעתי שימוש כלשהוא. ניסיתי להשתמש בכתובות אחרות באמצעות קבלת כתובת IP אחרת (הוצאה והכנסה של המכשיר נותנת כתובת חדשה), אולם בכל ניסיון הכתובות היו חסומות, כלומר לא יכלתי להשתמש כלל בשירות. נתון זה שהכתבות כבר בשימוש ומי שמתמש בכתובת דינאמיות חסום לא נאמר לי ולא הועלה בעת המכירה. מה שקורה שבכל אתר שאני רוצה להשתמש בו אני חסום ולא יכול להשתמש. דברתי עם מספר חברים שיש להם מודמים כאלה כבר זמן רב , כששאלתי איך לפתור : אמרו כי הבעייה נפתרה לנו ע"י שינוי בתוך המודם ל: ABN = intereal ו זה בשפה המקצועית אומר " IP קבוע" שמחתי ל פתרון ו נגשתי ל סלקום אחרי 30 דקות המתנה...

Ollama Voice Chat — A Local, Talking AI Assistant for Windows

  Ollama Voice Chat — A Local, Talking AI Assistant for Windows I’m excited to share my latest open-source project: Ollama Voice Chat — a simple but powerful local voice chat assistant that runs fully on your machine using open-source AI tools. It lets you talk to a Large Language Model (LLM) and hear its responses spoken back out loud — no cloud APIs, no monthly fees, and full control of your data. 👉 GitHub repository: https://github.com/error0327/ollama-voice-chat 🚀 What Is It? Ollama Voice Chat is an interactive client for Windows that connects to a locally running LLM (via Ollama), converts user speech to text, sends it to the model, and uses Coqui TTS to speak the replies. It includes an automated setup script to streamline installation and configuration. Instead of typing, you can talk to your AI assistant and get spoken answers — great for hands-free use cases, prototyping voice UIs, or just having a more natural interaction with your models. 🧠 Why This Matte...