Giter Site home page Giter Site logo

coldgrub1384 / pisth Goto Github PK

View Code? Open in Web Editor NEW
404.0 14.0 66.0 201.26 MB

SSH and SFTP client for iOS

Home Page: https://develobile.com/pisth

License: Apache License 2.0

Swift 95.76% Ruby 0.35% Shell 0.15% Objective-C 0.24% HTML 2.14% CSS 1.35%
ios swift ssh sftp

pisth's Introduction

Icon

Pisth

Download on the App Store

Pisth is an SSH and SFTP client.
Use Pisth to upload, view and edit files in your SSH server.

Features:

• Manage files in your SSH server and use the Shell in the same app.
• Edit text files and code with colored syntax.
• The terminal is like xterm, so you can use text editors such as nano, vim, etc. 
• SSH Keys
• Drag and drop.
• Send special keys.
• Open multiple panels in iPad.
• Find your connections with Spotlight.
• Share shell session between other devices using Pisth or your Mac.
• Transfer files between servers.
• Find servers with Bonjour.

status iOS

Screenshots

Screenshots

API

Documentation

Pisth has an API that allows iOS apps to import files from Pisth.

More information at https://pisth.github.io/docs/getting-started.html.

Project hierarchy

Building project

$ ./setup.sh Then build any scheme you want from Pisth.xcworkspace.

Projects

pisth's People

Contributors

coldgrub1384 avatar pisth avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pisth's Issues

Cannot upload files

On the current App Store version, the app crashes when a file is selected from the file browser to upload it. Also, when a file is opened with the share sheet, only the local shell appears.

Terminal keyboard is set to capitalize

It's incredibly annoying to have to disable Shift on every line in SSH. What's the rationale for that keyboard setting?

If you prefer, I can read through sources and create a PR with the fix.

Thanks!

App Store Author?

This program is available in the iOS App Store with the author name Marcela Cid.
I just want to know whether Marcela Cid is connected with @ColdGrub1384 in some way so that my purchase will support this development.

Also, is there a way to install this program without the App Store? Do I have to become an Apple Developer?

Option to assign escape or control to caps lock

Capslock is far less useful than having an escape key or better placement for control on a physical keyboard. This setting unfortunately has to be handled in each app's setting on an iphone/ipad. I am using this keyboard and it is pretty great with pisth. Remapping caps to esc would make it amazing!

Shortcuts for commands

Thank you very much for creating this very useful app!

I have a suggestion that I would find very convenient: Please add the possibility to connect to a host and execute a command in a single tap. I guess the easiest possibility to add this would be to let users define a startup command for every bookmark, which is executed immediately after the connection is made.

My intended usage scenario is shutting down the Raspberry Pi remotely, with as few taps as possible. Ideally, it would be as easy as Force-Touching Pisth's home screen icon and choosing a "Shut down RPi" bookmark.

PS: I could provide German translations for the app. Just let me know if you are interested and I'll submit a PR.

iPadOS 13.3.1 run error

Hello,

Can't run on iPad OS 13.3.1. Build is ok, but run is ko.

First error :

dyld: Library not loaded: @rpath/ActionSheetPicker_3_0.framework/ActionSheetPicker_3_0
  Referenced from: /private/var/containers/Bundle/Application/2716E7F4-88D7-43BD-BDA7-AF49954EBF1C/Pisth.app/Pisth
  Reason: no suitable image found.  Did find:
	/private/var/containers/Bundle/Application/2716E7F4-88D7-43BD-BDA7-AF49954EBF1C/Pisth.app/Frameworks/ActionSheetPicker_3_0.framework/ActionSheetPicker_3_0: code signature invalid for '/private/var/containers/Bundle/Application/2716E7F4-88D7-43BD-BDA7-AF49954EBF1C/Pisth.app/Frameworks/ActionSheetPicker_3_0.framework/ActionSheetPicker_3_0'

	/private/var/containers/Bundle/Application/2716E7F4-88D7-43BD-BDA7-AF49954EBF1C/Pisth.app/Frameworks/ActionSheetPicker_3_0.framework/ActionSheetPicker_3_0: code signature invalid for '/private/var/containers/Bundle/Application/2716E7F4-88D7-43BD-BDA7-AF49954EBF1C/Pisth.app/Frameworks/ActionSheetPicker_3_0.framework/ActionSheetPicker_3_0'

	/private/var/containers/Bundle/Application/2716E7F4-88D7-43BD-BDA7-AF49954EBF1C/Pisth.app/Frameworks/ActionSheetPicker_3_0.framework/ActionSheetPicker_3_0: stat() failed with errno=1
	/private/var/containers/Bundle/Application/2716E7F4-88D7-43BD-BDA7-AF49954EBF1C/Pisth.app/Frameworks/ActionSheetPicker_3_0.framework/ActionSheetPicker_3_0: code signature invalid for '/private/var/containers/Bundle/Application/2716E7F4-88D7-43BD-BDA7-AF49954EBF1C/Pisth.app/Frameworks/ActionSheetPicker_3_0.framework/ActionSheetPicker_3_0'

	/private/var/containers/Bundle/Application/2716E7F4-88D7-43BD-BDA7-AF49954EBF1C/Pisth.app/Frameworks/ActionSheetPicker_3_0.framework/ActionSheetPicker_3_0: stat() failed with errno=1

Several projects encounter the same problem : Alamofire/Alamofire#3051
I have fixed this bug by editing Pods\Podfile and replacing
use_frameworks!

by
use_modular_headers!

After cleaning projet, update pod and installing lib, I got this error :
dyld: Library not loaded: @rpath/Pisth_Shared.framework/Pisth_Shared Referenced from: /private/var/containers/Bundle/Application/4A07DBED-8386-46DA-B925-F5350452AC01/Pisth.app/Pisth Reason: no suitable image found. Did find: /private/var/containers/Bundle/Application/4A07DBED-8386-46DA-B925-F5350452AC01/Pisth.app/Frameworks/Pisth_Shared.framework/Pisth_Shared: code signature invalid for '/private/var/containers/Bundle/Application/4A07DBED-8386-46DA-B925-F5350452AC01/Pisth.app/Frameworks/Pisth_Shared.framework/Pisth_Shared'

Sorry, I'm newest on iOS/iPadOS.

Do you have solution ?

Theme frozen

The Pisth Dark theme is now default. That theme is impossible to read.

I tried to change themes. The new theme is labeled as current but the Pisth Dark theme is still in place. The theme cannot be changed.

Please fix this, the existing theme could result in erroneous command entries and window reading.

UI changes to dark theme unexpectedly

The app unexpectedly switches to the dark theme and remains that way until the app is restarted.

The purple text on the dark theme is also fairly inaccessible as well due to the low contrast and makes it rather hard to make out the icons and text.

Steps to reproduce:

  1. Start a connect with SFTP or just regular SSH
  2. Tap on Bookmarks to go back to the list of connections

UI will remain in a dark theme state, even though on app launch it is light themed.

Prompt for SSH key encryption passwords on connection

I'm running Pisth version 11.3.1. If an encrypted SSH private key is added to the client, it seems that the passphrase for decrypting that SSH private key is saved in the host profile. It seems that this passphrase is stored permanently (plaintext?). The private key should remain encrypted on disk at all times, and only decrypted in-memory when the user connects to a host and enters the passphrase.

Can’t open connection - error or crash

Am trying to open a new sftp connection, but I keep getting ‘Error opening connection’ errors. I know the connection details work as I can connect using other apps.

Sometime it loads the remote directory contents before throwing the error.

The app is also very unstable, crashing regularly when trying to open connection.

I’m using a 7+ on 13.2

duration issue/suggestion/question

Hello,
Perhaps more of a question/suggestion.
I've been using Pisth to replace my other SSH apps since I discovered Pisth some time ago.
My issue concerns the duration of the app when idle. I use the app to control the linear actuator that positions a solar array. When troubleshooting or collecting data, I may leave the app idle for up to a minute. Everytime I leave the app idle, I have to restart the command line window again and re-enter the python code to control the array.
Is there a switch/option to allow a longer or unlimited delay between app actions.

Cannot upload directories

If a directory is selected from the document picker to upload it, it will show a permission error.

iOS availability

Hello hello !
Any chance to download it through app store ?
Mine refuse to download it.
I tried with vpn different locations with no success.
Thanks you

Blackouts

When I turn my iPhone(7+) on either side, the screen goes black and when I turn the phone upright the screen returns but the ssh session has been stopped.
In passing, any external processes are left running when the app blacks out. Example: If I'm controlling a relay withe app, when the app blacks out, as when the phone is turned on its side, the relays are left in that state when the blackout occurred.

macOS version

ever think of extending support to macOS for SSH and SFTP? I haven't tried the iOS app, but there aren't really any macOS SSH apps that have both SFTP (GUI) and SSH.

Add support for SSH host key verification

I'm running Pisth version 11.3.1. Unless I missed it, I noticed that when connecting to a new host via SSH for the first time, there is no host key verification prompt for adding host trust to your client. Adding this would greatly increase security to help prevent man-in-the-middile attacks on SSH connections.

Thanks

Hello,

I've been using your app for some time now.
Thank you for the program. I have a couple of suggestions.
If, on my iPhone, I change focus, that is, bring up the running apps view, any data I've typed on the command line on my Raspberry Pi, is lost. I have to re-type the command line.
Command line data retention is one suggestion.
I use the app, with my Raspberry Pi, to control a solar panel array's position. I may manually 'tweak' the position using multiple runs of a python command. In Raspbian (Debian) Linux, I save time in typing by using the up-arrow key to recall the last command line entered. In your app, I no of no such shortcut. Am I missing something? If not, that is my other suggestion: include a key to recall command line memory.

Thanks again for the app.
Jim Julian

Font missing

IMG_D118B25F514F-1

Hello,

I'm using Pisth on iPad Pro 3rd gen.

when I access my server(ubuntu 18.04, zsh agnoster theme), it can't show properly
please fix it

xterm.js backspace not work in safari.

I hava use the xterm.js. I have test the terminal.html in safari. And I add code as below:

<meta name="viewport" content="width=device-width height=device-height initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<link rel="stylesheet" href="xterm.css" />
<script src="xterm.js"></script>
<script src="fit.js"></script>

<body style="background-color: transparent;">
    <div id="terminal" style="height: 100%; width: 100%;"></div>
    
    <script type="text/javascript">
        
        var term = new Terminal();
        term.open(document.getElementById('terminal'));
        
        term.write('Hello from \x1B[1;3;31mxterm.js\x1B[0m $ ')

        term.on( "key" ,function (key,e) {
            term.write(String.fromCharCode(e.keyCode));
            console.log(e)
        })
    </script>
</body>

when input a long line. when I press delete key. The cursor don't move up to first line. I want to know how do you deal with this problem. Your app is works fine. Could you help me?

Error opening session!

Made a new set of keys and installed to remotehost with ssh-copy-id, which returned exit status of 0.

Copied keys into pisth public and private key import, and got:

Unable to authenticate, check
For username and password.

Also made a text version of the keys and dropped it into the pisth directory, then imported to host config, with same error.

Also tried an older set of RSA keys with same error.

Both keys are in my known_hosts file, and both work successfully to login to ssh from other apps.

Neither key has a pass phrase, and I have tried both leaving the password field blank, and filling it in with my password. The ssh server does not allow password logins.

Thoughts?

Crash when opening a connection?

Hello users! I received this review from the App Store:

When I open a connection, it usually crashes. On occasion it works, though. It won’t remember SSH keys from sources other than its own folder, and it took me hours to figure that out. It doesn’t give any specific errors; it just fails to authenticate.

Great idea, but it simply doesn’t work well. It’s not reliable enough for real use.

iOS 12.1, iPad Pro 11 2018

I don't understand very well the review, I replied with that:

Thanks for the review. It shouldn't crash when opening a connection, this is strange. For SSH keys, I don't know exactly what do you mean, when importing an SSH key, the key content is saved, so the file can be deleted. And for authentication error, maybe you filled the "Password" field with the user password, and it should be the private key passphrase.

I think I can understand the SSH keys issue, but for the crash...

I received 2 crash logs for images, when opening an image, it crashed and I fixed that in next update.

But. I haven't received nothing when opening a connection. I see some crashes on App Store Connect, but I don't have crash logs about connections...

Pisth doesn't crash when opening a connection for me.

So, I want to ask you, does Pisth crash sometimes when you open a connection?

Please enable crash logs sharing with developers because it help us to fix bugs.

It would be strange if it's a thread issue, it crashed for that some versions ago, but I fixed it and I haven't received any crash log for that anymore. It should be very easy to debug it with crash logs.

Based on the username, I think it's maybe you, @KertDawg, that written the review. If it's you, please give more information here, if not, sorry :).

iOS 10 support ?

it would be awesome to be able to use Pisth on iOS 10 devices since there is a lot of iDevices that can't upgrade to iOS 11

and thanks

“error authenticating” when trying to SSH

When I try to establish an SSH connection to a remote host, I receive the following error:

Error authenticating! Check for username and password

This is on the latest iPad version from the App Store. I used the same credentials from both my laptop and from the Shelly iPad app and they both work successfully.

Any ideas?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.