{"action":"closed","issue":{"url":"https://api.github.com/repos/Russell91/sshrc/issues/60","repository_url":"https://api.github.com/repos/Russell91/sshrc","labels_url":"https://api.github.com/repos/Russell91/sshrc/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/Russell91/sshrc/issues/60/comments","events_url":"https://api.github.com/repos/Russell91/sshrc/issues/60/events","html_url":"https://github.com/Russell91/sshrc/issues/60","id":146890397,"number":60,"title":"Alternatives to xxd","user":{"login":"srvrco","id":16167200,"avatar_url":"https://avatars.githubusercontent.com/u/16167200?v=3","gravatar_id":"","url":"https://api.github.com/users/srvrco","html_url":"https://github.com/srvrco","followers_url":"https://api.github.com/users/srvrco/followers","following_url":"https://api.github.com/users/srvrco/following{/other_user}","gists_url":"https://api.github.com/users/srvrco/gists{/gist_id}","starred_url":"https://api.github.com/users/srvrco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srvrco/subscriptions","organizations_url":"https://api.github.com/users/srvrco/orgs","repos_url":"https://api.github.com/users/srvrco/repos","events_url":"https://api.github.com/users/srvrco/events{/privacy}","received_events_url":"https://api.github.com/users/srvrco/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-04-08T10:45:18Z","updated_at":"2016-04-26T00:09:08Z","closed_at":"2016-04-26T00:09:08Z","body":"I see from old closed issues that there has been some talk of providing alternatives to xxd.    I found it wasn't on all the servers I connected to. \r\n\r\nI tested by creating variables for the encode / decode \r\n\r\n#xxd works fine if xxd is on the remote server\r\nencodefn=\"xxd -p\"\r\ndecodefn=\"xxd -p -r\"\r\n\r\n#uuencode works fine if uudecode is on the remote server\r\nencodefn=\"uuencode -m - \"\r\ndecodefn=\"uudecode\"\r\n\r\n#openssl works fine (and was on all of my servers) \r\nencodefn=\"openssl enc -base64\"\r\ndecodefn=\"openssl enc -d -base64\"\r\n\r\nIs there a desire to include alternatives ? if so I'm happy to produce a version that could either automatically fail over to using a different method, or could have a command line arg  ( e.g. -x, -u or -o for xxd, uuencode, openssl) \r\n"}}