You are not logged in.

#1 2017-04-09 23:21:55

hashhar
Member
From: New Delhi, India
Registered: 2017-04-08
Posts: 18
Website

[SOLVED] Uploading to AUR using ssh over https

I have some issues which don't allow me to use ssh (ports blocked on the hostel network) on my laptop. I can use ssh from my desktop using personal internet though. So this is mainly to ease my workflow.

I have been using GitHub over ssh by following their guide.

I wanted to try something similar with ArchLinux so I added the following to my ssh config:

# Example link: ssh://aur@aur.archlinux.org/fortune-mod-all-en.git
Host aur.archlinux.org
    HostName		aur.archlinux.org
    Port			443
    User			aur
    IdentityFile		~/.ssh/id_rsa_archlinux

But unfortunately it doesn't work. Could somebody guide me?

Also what URL would I use to clone when configured this way?

ssh://aur@aur.archlinux.org/fortune-mod-all-en.git or aur@aur.archlinux.org:hashhar/fortune-mod-all-en.git?

Last edited by hashhar (2017-04-10 02:16:27)

Offline

#2 2017-04-10 00:25:37

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,442
Website

Re: [SOLVED] Uploading to AUR using ssh over https

I'm not sure I understand the question - as you say you can't use ssh, but then everything else is talking about using ssh rather than https.

But, for the direct question at the end of your post, the whole point of an entry like that in your .ssh/config is so that you don't have to enter a full url and username.  So you can clone to just "aur.archlinux.org".  Or even just to "aur" or any other alias you'd like to give it if you change the "Host" line.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2017-04-10 00:33:33

hashhar
Member
From: New Delhi, India
Registered: 2017-04-08
Posts: 18
Website

Re: [SOLVED] Uploading to AUR using ssh over https

Sorry for being confusing. I have two different internet connections in different places. One of them doesn't allow ssh to work (maybe due to outgoing ports blocked).

I basically need a way to circumvent that. I circumvent it when using GitHub by using the guide that I linked to. Can I do something similar for Arch Linux.

Offline

#4 2017-04-10 01:07:12

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,463

Re: [SOLVED] Uploading to AUR using ssh over https

Last I knew, write access was ssh over port 22 only. There was a big discussion about this on the aur-general mailing list in June 2015.

Online

#5 2017-04-10 02:15:31

hashhar
Member
From: New Delhi, India
Registered: 2017-04-08
Posts: 18
Website

Re: [SOLVED] Uploading to AUR using ssh over https

Scimmia wrote:

Last I knew, write access was ssh over port 22 only. There was a big discussion about this on the aur-general mailing list in June 2015.

Thanks. I guess I can mark this solved now.

Offline

#6 2017-04-10 02:26:35

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [SOLVED] Uploading to AUR using ssh over https

https://lists.archlinux.org/pipermail/a … html#30939
The complete lack of lfleischer in responding there, is not a promising sign. And then too, it still hasn't been enabled. wink

Yeah, not happening, sorry.


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#7 2017-04-10 11:59:42

progandy
Member
Registered: 2012-05-17
Posts: 5,184

Re: [SOLVED] Uploading to AUR using ssh over https

If your desktop is always running, you could set it up as an intermediary ssh server on port 443 for your ssh connections I think.
See the manpage for ssh (parameter -J) or ssh_config (section ProxyJump).

Last edited by progandy (2017-04-10 12:01:35)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#8 2017-04-10 13:48:30

hashhar
Member
From: New Delhi, India
Registered: 2017-04-08
Posts: 18
Website

Re: [SOLVED] Uploading to AUR using ssh over https

progandy wrote:

If your desktop is always running, you could set it up as an intermediary ssh server on port 443 for your ssh connections I think.
See the manpage for ssh (parameter -J) or ssh_config (section ProxyJump).

Thanks. That works and solves my usecase.

Offline

Board footer

Powered by FluxBB